[英]Meteor: Can't run a newly created app Win10 x64
I am trying to learn Meteor but I can't even make the first tutorial work. 我正在尝试学习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
I tried: 我试过了:
Windows 10 Pro x64 Windows 10专业版x64
Meteor 1.6.1.1 流星1.6.1.1
Node v8.11.2 节点v8.11.2
NPM 5.6.0 NPM 5.6.0
How do I run this? 我该如何运行? What am I missing?
我想念什么?
The last Windows 10 update made Meteor dependencies stop working. 最新的Windows 10更新使Meteor依赖项停止工作。 Meteor published a release specifically for this problem.
流星发布了专门针对此问题的发行版。 You can get it by using:
您可以使用以下方法获取它:
meteor update --release 1.6.1.2-rc.0
How about developing your Meteor app in a Linux virtual machine? 如何在Linux虚拟机中开发Meteor应用程序? Then you could follow these instructions:
然后,您可以按照以下说明进行操作:
Ubuntu - https://www.ubuntu.com/ Ubuntu- https://www.ubuntu.com/
CentOS - https://www.centos.org/ CentOS- https://www.centos.org/
You could also try installing Ubuntu for Windows: https://blog.ubuntu.com/2016/03/30/ubuntu-on-windows-the-ubuntu-userspace-for-windows-developers 您也可以尝试为Windows安装Ubuntu: https : //blog.ubuntu.com/2016/03/30/ubuntu-on-windows-the-ubuntu-userspace-for-windows-developers
I've developed Meteor apps successfully in an Ubuntu virtual machine on Windows. 我已经在Windows的Ubuntu虚拟机中成功开发了Meteor应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.