【发布时间】:2018-11-06 01:50:46
【问题描述】:
我正在尝试学习 Meteor,但我什至无法完成第一个教程。
PS >meteor create test
PS >cd test
PS \test> npm install
up to date in 1.644s
PS \test> meteor
=> Started proxy.
=> Started MongoDB.
W20180527-15:47:22.220(9)? (STDERR) module.js:549
W20180527-15:47:22.261(9)? (STDERR) throw err;
W20180527-15:47:22.262(9)? (STDERR) ^
W20180527-15:47:22.263(9)? (STDERR)
W20180527-15:47:22.268(9)? (STDERR) Error: Cannot find module 'fibers'
W20180527-15:47:22.269(9)? (STDERR) at Function.Module._resolveFilename (module.js:547:15)
W20180527-15:47:22.271(9)? (STDERR) at Function.Module._load (module.js:474:25)
W20180527-15:47:22.272(9)? (STDERR) at Module.require (module.js:596:17)
W20180527-15:47:22.274(9)? (STDERR) at require (internal/module.js:11:18)
W20180527-15:47:22.274(9)? (STDERR) at Object.<anonymous> (D:\workspace\meteor\test\.meteor\local\build\programs\server\boot.js:1:75)
W20180527-15:47:22.275(9)? (STDERR) at Module._compile (module.js:652:30)
W20180527-15:47:22.276(9)? (STDERR) at Object.Module._extensions..js (module.js:663:10)
W20180527-15:47:22.277(9)? (STDERR) at Module.load (module.js:565:32)
W20180527-15:47:22.278(9)? (STDERR) at tryModuleLoad (module.js:505:12)
W20180527-15:47:22.278(9)? (STDERR) at Function.Module._load (module.js:497:3)
=> Exited with code: 1
我试过了:
- 手动安装缺少的模块会产生另一个缺少的模块,但缺少的模块太多了。
- npm install 没有做任何事情,所以我尝试使用 npm-install-missing 但它只是说没有缺少模块。
- 重新安装 Meteor、NodeJS 和 npm。没有区别。
Windows 10 专业版 x64
流星 1.6.1.1
节点 v8.11.2
NPM 5.6.0
如何运行它?我错过了什么?
【问题讨论】:
标签: node.js meteor npm npm-install