node.js - Meteor 无法在 Windows 7 64 位上运行

标签 node.js meteor fibers

我只是在我的 Windows 7 企业 64 位机器上尝试 Meteor。我通过 MSI 从 http://win.meteor.com 安装它,重新启动计算机并在命令提示符(管理员)中执行以下操作:

cd /d c:\var
meteor create testapp
(absolutely no response on console)

然后我确保 node.exe 正在运行。我使用基本的 hello world 示例创建了一个 test.js 并且它起作用了(我浏览到 localhost:xxx 并受到欢迎)。

node test.js

然后我直接进入meteor.js代码,当在fibre(...)内部遇到process.stderr.write时,我决定在fibre外部的文件开头调用相同的内容。
process.stderr.write("光纤外");
(这条消息被打印了 ;确认纤维有问题)

现在经过研究,我偶然发现

npm test fibers
(output: Error: Test already-running.js failed. code: -1073741819 ....)

然后我就这么做了

npm remove fibers
npm install fibers

但是,测试光纤的错误仍然存​​在,meteor 命令的绝对无输出也是如此。

有人可以帮忙吗?我别无选择,这是我第一次尝试meteor/nodejs。

最佳答案

我发现了 Node 光纤的问题(在 Windows 上)并进行了初步修复 - 至少它解决了我的问题,我有兴趣看看这是否也可以解决其他人的问题。

最终,问题显然是由于堆栈溢出和访问冲突而突然死亡。然而,根本原因是线程局部变量没有在光纤交换机上正确切换。

请参阅https://github.com/TomWij/meteor/issues/66#issuecomment-15994548了解详情。

查看相关的 Stack Overflow 问题:Meteor on Windows: meteor command outputs nothing

关于node.js - Meteor 无法在 Windows 7 64 位上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14779531/

相关文章:

android - Meteor android 构建说 "Application not installed"

ruby - Ruby 纤程可以并发吗?

node.js - 文件监视,没有这样的文件或目录用于 emacs 自动保存文件

meteor - 如何在 Meteor 中使用经过验证的电子邮件地址创建用户?

angularjs - "meteor mongo"与 "Error: EINVAL, invalid argument"崩溃

c# - 纤程与异步等待

ruby - 具有 em-synchrony 的 EventMachine 我需要正确地限制我的 http 请求

node.js - 从 Node/Express : OSError: Invalid chunk header POST 到 Python Flask 服务器

javascript - 使用 NodeJS 在 RingCentral 中处理 TIFF 附件

node.js - MongoDB 错误 : Cannot use retryable writes with limit=0