Meteor 0.5.0示例未在Windows上运行

时间:2012-10-31 02:14:15

标签: meteor

在Windows Vista上全新安装Meteor 0.5.0。我没有得到基本的例子。创建空的'hello app后也没有成功。 shell以管理员身份运行。 Meteor认识到我更改了源文件,但后来没有。在文件系统中我尝试这个并不重要。总是得到

Exited with code: -1073741819:

例如

C:\Users\jawford\Meteor Apps\Examples>meteor create starter3
starter3: created.

To run your new app:
   cd starter3
   meteor

C:\Users\jawford\Meteor Apps\Examples>cd starter3

C:\Users\jawford\Meteor Apps\Examples\starter3>meteor
[[[[[ C:\Users\jawford\Meteor Apps\Examples\starter3 ]]]]]

Running on: http://localhost:3000/
Exited with code: -1073741819
Exited with code: -1073741819
Exited with code: -1073741819
Your application is crashing. Waiting for file change.
=> Modified -- restarting.
Exited with code: -1073741819
Exited with code: -1073741819
Exited with code: -1073741819
Your application is crashing. Waiting for file change.
^CTerminate batch job (Y/N)? y

C:\Users\jawford\Meteor Apps\Examples\starter3>

3 个答案:

答案 0 :(得分:4)

如果使用Windows 8遇到此问题,则需要更改节点可执行文件的兼容模式。

  • 转到安装Meteor的文件夹
  • 打开bin / node.exe的属性
  • 设置Windows 7的兼容模式

您现在应该能够像之前一样启动应用程序。

答案 1 :(得分:1)

这与光纤未正确加载有关。您可以尝试使用app/meteor/meteor.js运行bin/node,两者都位于Program Files的Meteor目录中。这可能会为您提供有关崩溃原因的更多详细信息。在lib/node_modules/fibers文件夹中运行测试可能也很方便,这可能会指出为什么Fibers行为不端。

答案 2 :(得分:1)

退出代码-1073741819对应于C0000005,表示访问冲突。

许多用户发现将兼容模式设置为“Windows 7”可以解决这个问题,但并不总是如此,并且有证据表明它也会出现在Windows 7上。

调查关于win Meteor 0.5.9的后续问题,我发现Windows上的光纤有问题可以解释这个问题,我有一个暂时的修复。

有关详细信息,请参阅:https://github.com/TomWij/meteor/issues/66#issuecomment-15994548