2016-08-30 101 views
0

失败后,我第一次得到:流星不断更新

=> Started proxy.        
=> Started MongoDB.       

Unable to resolve some modules: 

    "./cancel.js" in /Users/abc123/Google Drive/Code/Meteor/canary/node_modules/bluebird/js/main/promise.js (os.osx.x86_64) 

I20160830-00:34:12.965(-4)? ** You've set up some data subscriptions with Meteor.publish(), but 
I20160830-00:34:13.022(-4)? ** you still have autopublish turned on. Because autopublish is still 
I20160830-00:34:13.023(-4)? ** on, your Meteor.publish() calls won't have much effect. All data 
I20160830-00:34:13.023(-4)? ** will still be sent to all clients. 
I20160830-00:34:13.023(-4)? ** 
I20160830-00:34:13.023(-4)? ** Turn off autopublish by removing the autopublish package: 
I20160830-00:34:13.024(-4)? ** 
I20160830-00:34:13.024(-4)? ** $ meteor remove autopublish 
I20160830-00:34:13.024(-4)? ** 
I20160830-00:34:13.024(-4)? ** .. and make sure you have Meteor.publish() and Meteor.subscribe() calls 
I20160830-00:34:13.025(-4)? ** for each collection that you want clients to see. 

它然后给以后的错误:

W20160830-00:34:25.614(-4)? (STDERR) /Users/abc123/.meteor/packages/meteor-tool/.1.4.1_1.6uhwa8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280 
W20160830-00:34:25.615(-4)? (STDERR)      throw(ex); 
W20160830-00:34:25.615(-4)? (STDERR)      ^
W20160830-00:34:25.615(-4)? (STDERR) 
W20160830-00:34:25.616(-4)? (STDERR) Error: Cannot find module './cancel.js' 
W20160830-00:34:25.616(-4)? (STDERR)  at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:85:1) 
W20160830-00:34:25.616(-4)? (STDERR)  at module.exports (node_modules/bluebird/js/main/promise.js:714:1) 
W20160830-00:34:25.619(-4)? (STDERR)  at meteorInstall.node_modules.bluebird.js.main.bluebird.js (node_modules/bluebird/js/main/bluebird.js:9:1) 
W20160830-00:34:25.619(-4)? (STDERR)  at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1) 
W20160830-00:34:25.619(-4)? (STDERR)  at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1) 
W20160830-00:34:25.619(-4)? (STDERR)  at meteorInstall.node_modules.stripe.lib.StripeResource.js (node_modules/stripe/lib/StripeResource.js:6:1) 
W20160830-00:34:25.619(-4)? (STDERR)  at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1) 
W20160830-00:34:25.620(-4)? (STDERR)  at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1) 
W20160830-00:34:25.620(-4)? (STDERR)  at meteorInstall.node_modules.stripe.lib.resources.Accounts.js (node_modules/stripe/lib/resources/Accounts.js:3:1) 
W20160830-00:34:25.620(-4)? (STDERR)  at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1) 
W20160830-00:34:25.620(-4)? (STDERR)  at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1) 
W20160830-00:34:25.621(-4)? (STDERR)  at meteorInstall.node_modules.stripe.lib.stripe.js (node_modules/stripe/lib/stripe.js:28:1) 
W20160830-00:34:25.621(-4)? (STDERR)  at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1) 
W20160830-00:34:25.621(-4)? (STDERR)  at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1) 
W20160830-00:34:25.621(-4)? (STDERR)  at meteorInstall.server.stripe.js (server/stripe.js:1:10) 
W20160830-00:34:25.621(-4)? (STDERR)  at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1) 

人有什么尝试或排除任何想法?

流星--version 流星1.4.1.1

+0

尝试再次移除'node_modules'和'npm install'。您为什么将应用放入Google云端硬盘? – MasterAM

+0

什么是Node版本? 'node --version' –

回答

0

原来,这条模块,我在我的进口没有更新,并导致崩溃。删除它解决了这个问题。