我正在開發一個執行得很好的流星應用程序([email protected])...但是我已經目睹了幾個情節,在執行了一個不同的流星應用程序後發生了像下面這樣的失敗,之後當我嘗試運行我自己的應用它突然開始出現問題上推出:爲什麼運行Meteor應用程序能夠運行其他Meter應用程序?
其他應用:
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目錄並重新安裝流星
curl https://install.meteor.com/ | sh
我自己以前的工作應用程序突然開始再次正常工作。
的Ubuntu 15.10
我使用任何特殊權限安裝
我得到問題的獨立的我是否擁有的NodeJS(節點V5.1.0)相同或不(流星不依賴於外部安裝的NodeJS)
這是流星中的一個已知錯誤嗎?
這是流星行爲故意嗎? 有關如何避免這種情況的任何建議?
很少有問題:你用什麼操作系統來運行應用程序?上面只用sh安裝Meteor,你是否設置了其他任何東西(權限等)?你使用什麼版本的Node?也許[這個問題](http://stackoverflow.com/questions/15851923/cant-install-update-or-run-meteor-after-update)會有所幫助。 –
你可以轉儲npm版本的結果嗎?當你運行流星時,它會使用節點js v 0.40,但是下次可能情況並非如此...... 請記住流星不支持最新的Node版本:https://github.com/meteor/meteor/issues/ 5452 – Ser