Weird error on Mac. Exited with code 8

Yesterday everything was working fine, I use mac and linux, syncing via dropbox, today I add a couple of lines and when saved, it throws the following error, the linux server still running on yesterdays code. I try undoing what I did, error won’t go away, I copy everything from linux (take me back to yesterday’s code) error won’t go away.
Anyone?
Thanks

Dropbox was paused today, didn’t sync.

=> Started proxy. => Started MongoDB. => Meteor 1.3.1 is available. Update this project with 'meteor update'. W20160411-20:03:29.538(3)? (STDERR) W20160411-20:03:29.542(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.0_3.8g0hcl++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267 W20160411-20:03:29.542(3)? (STDERR) throw(ex); W20160411-20:03:29.542(3)? (STDERR) ^ W20160411-20:03:29.543(3)? (STDERR) Error: Cannot find module './lib/_stream_readable.js' W20160411-20:03:29.543(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15) W20160411-20:03:29.543(3)? (STDERR) at Function.Module._load (module.js:280:25) W20160411-20:03:29.543(3)? (STDERR) at Module.require (module.js:364:17) W20160411-20:03:29.543(3)? (STDERR) at require (module.js:380:17) W20160411-20:03:29.544(3)? (STDERR) at Object.<anonymous> (/Users/alfred/.meteor/packages/cfs_storage-adapter/.0.2.3.1ey3v9x++os+web.browser+web.cordova/npm/node_modules/length-stream/node_modules/pass-stream/node_modules/readable-stream/readable.js:1:28) W20160411-20:03:29.544(3)? (STDERR) at Module._compile (module.js:456:26) W20160411-20:03:29.544(3)? (STDERR) at Object.Module._extensions..js (module.js:474:10) W20160411-20:03:29.544(3)? (STDERR) at Module.load (module.js:356:32) W20160411-20:03:29.544(3)? (STDERR) at Function.Module._load (module.js:312:12) W20160411-20:03:29.544(3)? (STDERR) at Module.require (module.js:364:17) => Exited with code: 8**

I would try the following (check if it works after performing each):

  • Reset your project: meteor reset (note that this wipes the MongoDB data on your local machine)
  • Update Meteor as the message suggests: meteor update
  • Re-install Meteor: rm -rf ~/.meteor (copy and paste it carefully to avoid mistakes) and then curl https://install.meteor.com/ | sh

I updated it, and reset the application, the error now changes to:

W20160412-13:14:31.610(3)? (STDERR) W20160412-13:14:31.611(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267 W20160412-13:14:31.612(3)? (STDERR) throw(ex); W20160412-13:14:31.612(3)? (STDERR) ^ W20160412-13:14:31.615(3)? (STDERR) Error: Cannot find module 'cookie-signature' W20160412-13:14:31.615(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15) W20160412-13:14:31.616(3)? (STDERR) at Function.Module._load (module.js:280:25) W20160412-13:14:31.616(3)? (STDERR) at Module.require (module.js:364:17) W20160412-13:14:31.616(3)? (STDERR) at require (module.js:380:17) W20160412-13:14:31.617(3)? (STDERR) at Object.<anonymous> (/Users/alfred/.meteor/packages/meteorhacks_fast-render/.2.13.0.1hqlxcy++os+web.browser+web.cordova/npm/node_modules/connect/lib/utils.js:17:17) W20160412-13:14:31.617(3)? (STDERR) at Module._compile (module.js:456:26) W20160412-13:14:31.617(3)? (STDERR) at Object.Module._extensions..js (module.js:474:10) W20160412-13:14:31.618(3)? (STDERR) at Module.load (module.js:356:32) W20160412-13:14:31.618(3)? (STDERR) at Function.Module._load (module.js:312:12) W20160412-13:14:31.618(3)? (STDERR) at Module.require (module.js:364:17) => Exited with code: 8

Did you try to reinstall Meteor as well?

The issue seems to be related to meteorhacks:fast-render judging from that error message. Try removing it:

meteor remove meteorhacks:fast-render

Removed it, the error now pointed to another package, removed it, still points at it

❯ meteor remove meteorhacks:fast-render

Changes to your project’s package version selections:

chuangbo:cookie removed from your project
meteorhacks:fast-render removed from your project
meteorhacks:inject-data removed from your project
meteorhacks:meteorx removed from your project
meteorhacks:picker removed from your project

meteorhacks:fast-render: removed dependency

~/dropbox/alfie/code/work/barbaralee 350s

~/dropbox/alfie/code/work/barbaralee~/dropbox/alfie/code/work/barbaralee 5m 50s
❯ meteor
[[[[[ ~/Dropbox/Alfie/code/Work/barbaralee ]]]]]

=> Started proxy.
=> Started MongoDB.
W20160412-14:12:25.024(3)? (STDERR)
W20160412-14:12:25.026(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160412-14:12:25.026(3)? (STDERR) throw(ex);
W20160412-14:12:25.026(3)? (STDERR) ^
W20160412-14:12:25.026(3)? (STDERR) Error: Cannot find module 'pass-stream’
W20160412-14:12:25.026(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160412-14:12:25.026(3)? (STDERR) at Function.Module._load (module.js:280:25)
W20160412-14:12:25.027(3)? (STDERR) at Module.require (module.js:364:17)
W20160412-14:12:25.027(3)? (STDERR) at require (module.js:380:17)
W20160412-14:12:25.027(3)? (STDERR) at Object. (/Users/alfred/.meteor/packages/cfs_storage-adapter/.0.2.3.1ey3v9x++os+web.browser+web.cordova/npm/node_modules/length-stream/lib/length-stream.js:3:18)
W20160412-14:12:25.027(3)? (STDERR) at Module._compile (module.js:456:26)
W20160412-14:12:25.027(3)? (STDERR) at Object.Module._extensions…js (module.js:474:10)
W20160412-14:12:25.027(3)? (STDERR) at Module.load (module.js:356:32)
W20160412-14:12:25.028(3)? (STDERR) at Function.Module._load (module.js:312:12)
W20160412-14:12:25.028(3)? (STDERR) at Module.require (module.js:364:17)
=> Exited with code: 8
W20160412-14:12:43.029(3)? (STDERR)
W20160412-14:12:43.029(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160412-14:12:43.030(3)? (STDERR) throw(ex);
W20160412-14:12:43.030(3)? (STDERR) ^
W20160412-14:12:43.033(3)? (STDERR) Error: Cannot find module 'pass-stream’
W20160412-14:12:43.033(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160412-14:12:43.033(3)? (STDERR) at Function.Module._load (module.js:280:25)
W20160412-14:12:43.034(3)? (STDERR) at Module.require (module.js:364:17)
W20160412-14:12:43.034(3)? (STDERR) at require (module.js:380:17)
W20160412-14:12:43.034(3)? (STDERR) at Object. (/Users/alfred/.meteor/packages/cfs_storage-adapter/.0.2.3.1ey3v9x++os+web.browser+web.cordova/npm/node_modules/length-stream/lib/length-stream.js:3:18)
W20160412-14:12:43.034(3)? (STDERR) at Module._compile (module.js:456:26)
W20160412-14:12:43.034(3)? (STDERR) at Object.Module._extensions…js (module.js:474:10)
W20160412-14:12:43.035(3)? (STDERR) at Module.load (module.js:356:32)
W20160412-14:12:43.035(3)? (STDERR) at Function.Module._load (module.js:312:12)
W20160412-14:12:43.036(3)? (STDERR) at Module.require (module.js:364:17)
=> Exited with code: 8
W20160412-14:12:55.227(3)? (STDERR)
W20160412-14:12:55.227(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160412-14:12:55.228(3)? (STDERR) throw(ex);
W20160412-14:12:55.228(3)? (STDERR) ^
W20160412-14:12:55.231(3)? (STDERR) Error: Cannot find module 'pass-stream’
W20160412-14:12:55.231(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160412-14:12:55.231(3)? (STDERR) at Function.Module._load (module.js:280:25)
W20160412-14:12:55.232(3)? (STDERR) at Module.require (module.js:364:17)
W20160412-14:12:55.232(3)? (STDERR) at require (module.js:380:17)
W20160412-14:12:55.232(3)? (STDERR) at Object. (/Users/alfred/.meteor/packages/cfs_storage-adapter/.0.2.3.1ey3v9x++os+web.browser+web.cordova/npm/node_modules/length-stream/lib/length-stream.js:3:18)
W20160412-14:12:55.232(3)? (STDERR) at Module._compile (module.js:456:26)
W20160412-14:12:55.232(3)? (STDERR) at Object.Module._extensions…js (module.js:474:10)
W20160412-14:12:55.232(3)? (STDERR) at Module.load (module.js:356:32)
W20160412-14:12:55.232(3)? (STDERR) at Function.Module._load (module.js:312:12)
W20160412-14:12:55.233(3)? (STDERR) at Module.require (module.js:364:17)
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.
=> Modified – restarting.

Changes to your project’s package version selections:

cfs:access-point removed from your project
cfs:collection removed from your project
cfs:collection-filters removed from your project
cfs:filesystem removed from your project
cfs:gridfs removed from your project
cfs:http-methods removed from your project
cfs:http-publish removed from your project
cfs:power-queue removed from your project
cfs:reactive-list removed from your project
cfs:reactive-property removed from your project
cfs:standard-packages removed from your project
cfs:tempstore removed from your project
cfs:upload-http removed from your project
cfs:worker removed from your project
npm-container removed from your project

W20160412-14:21:51.914(3)? (STDERR)
W20160412-14:21:51.915(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160412-14:21:51.915(3)? (STDERR) throw(ex);
W20160412-14:21:51.915(3)? (STDERR) ^
W20160412-14:21:51.919(3)? (STDERR) Error: Cannot find module 'pass-stream’
W20160412-14:21:51.919(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160412-14:21:51.919(3)? (STDERR) at Function.Module._load (module.js:280:25)
W20160412-14:21:51.919(3)? (STDERR) at Module.require (module.js:364:17)
W20160412-14:21:51.920(3)? (STDERR) at require (module.js:380:17)
W20160412-14:21:51.920(3)? (STDERR) at Object. (/Users/alfred/.meteor/packages/cfs_storage-adapter/.0.2.3.1ey3v9x++os+web.browser+web.cordova/npm/node_modules/length-stream/lib/length-stream.js:3:18)
W20160412-14:21:51.920(3)? (STDERR) at Module._compile (module.js:456:26)
W20160412-14:21:51.920(3)? (STDERR) at Object.Module._extensions…js (module.js:474:10)
W20160412-14:21:51.920(3)? (STDERR) at Module.load (module.js:356:32)
W20160412-14:21:51.920(3)? (STDERR) at Function.Module._load (module.js:312:12)
W20160412-14:21:51.921(3)? (STDERR) at Module.require (module.js:364:17)
=> Exited with code: 8
W20160412-14:27:21.638(3)? (STDERR)
W20160412-14:27:21.639(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160412-14:27:21.639(3)? (STDERR) throw(ex);
W20160412-14:27:21.639(3)? (STDERR) ^
W20160412-14:27:21.642(3)? (STDERR) Error: Cannot find module 'pass-stream’
W20160412-14:27:21.643(3)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160412-14:27:21.643(3)? (STDERR) at Function.Module._load (module.js:280:25)
W20160412-14:27:21.643(3)? (STDERR) at Module.require (module.js:364:17)
W20160412-14:27:21.643(3)? (STDERR) at require (module.js:380:17)
W20160412-14:27:21.643(3)? (STDERR) at Object. (/Users/alfred/.meteor/packages/cfs_storage-adapter/.0.2.3.1ey3v9x++os+web.browser+web.cordova/npm/node_modules/length-stream/lib/length-stream.js:3:18)
W20160412-14:27:21.644(3)? (STDERR) at Module._compile (module.js:456:26)
W20160412-14:27:21.644(3)? (STDERR) at Object.Module._extensions…js (module.js:474:10)
W20160412-14:27:21.644(3)? (STDERR) at Module.load (module.js:356:32)
W20160412-14:27:21.644(3)? (STDERR) at Function.Module._load (module.js:312:12)
W20160412-14:27:21.645(3)? (STDERR) at Module.require (module.js:364:17)
=> Exited with code: 8

I think there is something really wrong with your package cache. That’s why I’ve also advised you to reinstall Meteor, which you didn’t confirm if you did :slight_smile:.

I did but it didn’t solve the issue, so I deleted all packages that I added, it ran, added one by one, till I found these two packages that had dependencies that caused the errors:
yogiben:autoform-file has cfs:data-man
meteorhacks:fast-render has chuangbo:cookie
I think those two caused th crash on mac, linux still running with them