我正在尝试学习 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
meteor 1.6.1.1
Node v8.11.2
NPM 5.6.0
我该如何运行它?我错过了什么?
最佳答案
最后一次 Windows 10 更新使 Meteor 依赖项停止工作。 Meteor 专门针对这个问题发布了一个版本。您可以通过以下方式获取它:
meteor update --release 1.6.1.2-rc.0
关于node.js - Meteor:无法运行新创建的应用程序 Win10 x64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50549929/