为什么 运行ning 一个 Meteor 应用会破坏 运行 其他 Meter 应用的功能?

why does running a Meteor app break ability to run other Meter app?

我正在开发一个执行得很好的 meteor 应用程序 (METEOR@1.2.1) ...但是我目睹了几个情节,在执行另一个 meteor 应用程序后恰好像下面这样失败,之后当我尝试 运行 我自己的应用程序它突然开始在启动时失败 :

其他应用程序:

git clone https://github.com/RocketChat/Rocket.Chat
cd Rocket.Chat


meteor
[[[[[ ~/other_src/Rocket.Chat ]]]]]           

=> Started proxy.                             
=> Started MongoDB.                           
rocketchat:file: updating npm dependencies -- mkdirp, gridfs-stream, gm...
rocketchat:assets: updating npm dependencies -- image-size...
rocketchat:ldap: updating npm dependencies -- ldapjs...
rocketchat:theme: updating npm dependencies -- less, less-plugin-autoprefix...
rocketchat:tutum: updating npm dependencies -- redis...
rocketchat:ui-sidenav: updating npm dependencies -- less, less-plugin-autoprefix...
steffo:meteor-accounts-saml: updating npm dependencies -- xml2js, xml-crypto, xmldom, connect, xmlbuilder, querystring, xml-encryption...
W20151207-17:15:31.344(-5)? (STDERR)          
W20151207-17:15:31.345(-5)? (STDERR) module.js:340
W20151207-17:15:31.346(-5)? (STDERR)     throw err;
W20151207-17:15:31.346(-5)? (STDERR)           ^
W20151207-17:15:31.346(-5)? (STDERR) Error: Cannot find module 'fibers'
W20151207-17:15:31.346(-5)? (STDERR)     at Function.Module._resolveFilename (module.js:338:15)
W20151207-17:15:31.348(-5)? (STDERR)     at Function.Module._load (module.js:280:25)
W20151207-17:15:31.348(-5)? (STDERR)     at Module.require (module.js:364:17)
W20151207-17:15:31.348(-5)? (STDERR)     at require (module.js:380:17)
W20151207-17:15:31.349(-5)? (STDERR)     at Object.<anonymous> (/home/scott/other_src/Rocket.Chat/.meteor/local/build/programs/server/boot.js:1:75)
W20151207-17:15:31.349(-5)? (STDERR)     at Module._compile (module.js:456:26)
W20151207-17:15:31.349(-5)? (STDERR)     at Object.Module._extensions..js (module.js:474:10)
W20151207-17:15:31.349(-5)? (STDERR)     at Module.load (module.js:356:32)
W20151207-17:15:31.349(-5)? (STDERR)     at Function.Module._load (module.js:312:12)
W20151207-17:15:31.349(-5)? (STDERR)     at Module.require (module.js:364:17)

这是我的应用程序...这些错误仅在 运行在应用程序上方

之后才开始发生
meteor 
[[[[[ ~/other_src/github/myapp ]]]]]      

=> Started proxy.                             
=> Started MongoDB.                           
W20151207-17:37:03.985(-5)? (STDERR)          
W20151207-17:37:03.987(-5)? (STDERR) module.js:340
W20151207-17:37:03.987(-5)? (STDERR)     throw err;
W20151207-17:37:03.987(-5)? (STDERR)           ^
W20151207-17:37:03.987(-5)? (STDERR) Error: Cannot find module 'fibers'
W20151207-17:37:03.987(-5)? (STDERR)     at Function.Module._resolveFilename (module.js:338:15)
W20151207-17:37:03.987(-5)? (STDERR)     at Function.Module._load (module.js:280:25)
W20151207-17:37:03.988(-5)? (STDERR)     at Module.require (module.js:364:17)
W20151207-17:37:03.988(-5)? (STDERR)     at require (module.js:380:17)
W20151207-17:37:03.988(-5)? (STDERR)     at Object.<anonymous> (/home/scott/other_src/github/myapp/.meteor/local/build/programs/server/boot.js:1:75)
W20151207-17:37:03.988(-5)? (STDERR)     at Module._compile (module.js:456:26)
W20151207-17:37:03.988(-5)? (STDERR)     at Object.Module._extensions..js (module.js:474:10)
W20151207-17:37:03.988(-5)? (STDERR)     at Module.load (module.js:356:32)
W20151207-17:37:03.989(-5)? (STDERR)     at Function.Module._load (module.js:312:12)
W20151207-17:37:03.989(-5)? (STDERR)     at Module.require (module.js:364:17)

我知道如果我删除我的 ~/.meteor 目录并重新安装 meteor

curl https://install.meteor.com/ | sh

我自己以前工作的应用程序突然又开始正常工作了。

ubuntu 15.10

我没有使用特殊权限

无论我是否安装了 nodejs (node-v5.1.0),我都会遇到同样的问题(meteor 不依赖于外部 nodejs 安装)

这是 meteor 中的已知错误吗?
这种流星行为是故意的吗? 关于如何避免这种情况的任何建议?

如果您 运行 一个默认设置的 Meteor 应用程序,它 运行 在端口 3000 上。 运行 多个不同的 Meteor 应用程序在同一端口上可能会导致上述问题。要在不同的端口上制作应用程序 运行,请尝试使用 --port 参数,例如

$ meteor run --port 4000

当您 运行 其中一个时,它正在更新包,如您的第一个代码示例 "updating dependencies" 所示。

Meteor 使用您的 .meteor 文件夹在您的机器中全局存储包。我会说你的纤维包在它的版本或你的 OS 版本中可能有问题。