2016-07-22 39 views
0
Adams-MacBook-Pro:faze1app adamhanna$ meteor 
[[[[[ ~/Desktop/apps/temp/faze1App ]]]]]  

=> Started proxy.        
=> Started MongoDB.       
=> Meteor 1.3.5.1 is available. Update this project with 'meteor update'. 
W20160722-07:52:52.466(-7)? (STDERR)   
W20160722-07:52:52.468(-7)? (STDERR) /Users/adamhanna/.meteor/packages/meteor-tool/.1.3.2_4.1qxzz7q++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:300 
W20160722-07:52:52.469(-7)? (STDERR)      throw(ex); 
W20160722-07:52:52.469(-7)? (STDERR)       ^
W20160722-07:52:52.469(-7)? (STDERR) [object Object] 
=> Exited with code: 8 

錯誤沒有告訴我很多,所以很難調試。它只發生在這個項目中,所以我確定它是項目特定的。用代碼8退出@ node_modules/fibers/futures.js

我已經試過:

反正是有得到m礦石信息出錯而不是[對象對象]?

回答

0

解決

好了,這是我的錯,但它會很好,如果錯誤是更具描述。

從本質上講,我需要我的應用程序連接到多個MongoDB的,所以在我的服務器代碼,我有以下幾點:

var myOtherDatabase = new MongoInternals.RemoteCollectionDriver("mongodb://myOtherMongoURI"); 
myOtherCollection = new Mongo.Collection('stuff', { _driver: myOtherDatabase }); 

我有UFW設置上的其他MongoDB的,忘了讓從我的新的訪問IP。我的應用程序無法連接併發生了錯誤。