当我尝试发出新命令时,我会收到错误。
[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)
答案 0 :(得分:1)
这是因为缺少node_modules或者NODE_PATH设置不正确。
尝试重新安装或调试它,或尝试从git clone创建dev_bundle,如果正常方法不适合你...