OData, JayData和node.js:找不到ExpressionVisitor.js



我运行npm install odata-server,但调用require('odata-server')失败,如下所示:

Using JayLint for code parsing
module.js:340
    throw err;
          ^
Error: Cannot find module './Types/Expressions/Visitors/ExpressionVisitor.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/home/anewman/node_modules/odata-server/lib/jaydata/lib/index.js:28:1)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)

尝试重新安装模块并检查丢失的文件是否存在。请检查您的NODE_PATH设置,因为库无法在~/node_modules/odata-server/lib/jaydata/node-modules/acorn

下找到acorn解析器模块。

相关内容

  • 没有找到相关文章

最新更新