2

当我尝试给出新命令时,我得到了错误。

[root@localhost ~]# meteor

node.js:201
    throw e; // process.nextTick error, or 'error' event on first tick
          ^
Error: Cannot find module 'request'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object.<anonymous> (/usr/lib/meteor/app/meteor/deploy.js:9:15)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
4

1 回答 1

1

这是因为缺少 node_modules 或 NODE_PATH 设置不正确。

尝试重新安装或调试它,或者如果正常方法不适合您,请尝试从 git clone 创建 dev_bundle ......

于 2012-06-17T13:50:22.527 回答