Meteor:无法 运行 新创建的应用程序 Win10 x64
Meteor: Can't run a newly created app Win10 x64
我正在尝试学习 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
我如何运行这个?我错过了什么?
最后的 Windows 10 更新使 Meteor 依赖项停止工作。
Meteor 专门针对这个问题发布了一个版本。您可以通过以下方式获取它:
meteor update --release 1.6.1.2-rc.0
如何在 Linux 虚拟机中开发您的 Meteor 应用程序?那么您可以按照以下说明操作:
- 获取 VirtualBox,https://www.virtualbox.org/
- 选择一个 Linux 发行版(Ubuntu 是一个不错的选择,因为你会在网上找到很多帮助示例。或者 CentOS,因为它被 Meteor 提到)
- Linux Meteor 说明,https://www.meteor.com/install
Ubuntu - https://www.ubuntu.com/
CentOS - https://www.centos.org/
您也可以尝试为 Windows 安装 Ubuntu:
https://blog.ubuntu.com/2016/03/30/ubuntu-on-windows-the-ubuntu-userspace-for-windows-developers
我已经在 Windows 上的 Ubuntu 虚拟机中成功开发了 Meteor 应用程序。
我正在尝试学习 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
我如何运行这个?我错过了什么?
最后的 Windows 10 更新使 Meteor 依赖项停止工作。 Meteor 专门针对这个问题发布了一个版本。您可以通过以下方式获取它:
meteor update --release 1.6.1.2-rc.0
如何在 Linux 虚拟机中开发您的 Meteor 应用程序?那么您可以按照以下说明操作:
- 获取 VirtualBox,https://www.virtualbox.org/
- 选择一个 Linux 发行版(Ubuntu 是一个不错的选择,因为你会在网上找到很多帮助示例。或者 CentOS,因为它被 Meteor 提到)
- Linux Meteor 说明,https://www.meteor.com/install
Ubuntu - https://www.ubuntu.com/
CentOS - https://www.centos.org/
您也可以尝试为 Windows 安装 Ubuntu: https://blog.ubuntu.com/2016/03/30/ubuntu-on-windows-the-ubuntu-userspace-for-windows-developers
我已经在 Windows 上的 Ubuntu 虚拟机中成功开发了 Meteor 应用程序。