node.js - Meteor:无法运行新创建的应用程序 Win10 x64

标签 node.js meteor npm npm-install

我正在尝试学习 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

我尝试过:

  1. 手动安装缺失的模块会导致另一个缺失的模块,但缺失的模块太多了。
  2. npm install 没有做任何事情,所以我尝试使用 npm-install-missing 但它只是说没有丢失模块。
  3. 重新安装 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

See the Github issue

See the commit on the Meteor repository

关于node.js - Meteor:无法运行新创建的应用程序 Win10 x64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50549929/

相关文章:

javascript - strapi 获取关系数据

javascript - 清除所有输入文本元素并将焦点移至第一个

javascript - sh : 1: concurrent: not found while npm start

node.js - 安装polymer-cli 时出现问题

javascript - 如何使用 Node 调试器查看 JavaScript 映射的内容?

node.js - 如何调试交互式 node.js,例如 VS Code 中的 Inquirer

javascript - Node.js + OracleDb - 多次插入最后一个日期

oauth - 如何在 Meteor 帐户中请求额外的 oauth 范围

javascript - 在按钮上调用 javascript 函数单击 meteor

javascript - 在 rails 中使用 javascript_pack_tag 导致 EOFError