Closed jamesgibson14 closed 7 years ago
This isn't a bug with this image or Meteor Up. What version of Meteor are you using? fsevents
is an OS X-only file event module which shouldn't be run on a Debian machine. This points to a NPM bundling issue.
You should run meteor npm ls
in the root of your app and figure out where the fsevents
NPM dependency is coming from. Happy to discuss further, but this cannot be a problem with this image. Please include your dependencies
and devDependencies
from your apps package.json
to try to narrow down the problem.
Crazy! All of the deploy errors I have been having were caused by that momentjs bug #https://github.com/meteor/meteor/issues/7958 where it copied the whole npm folder into the build... I had 100mbs of wasted build.
Good to know. Yeah, I probably should have assumed and just told you to check that too but I thought I'd try to remain a bit vague so as not to bark up the wrong tree. Glad you found it!
This was from
mup restart
[IP]=> Executing NPM install within Bundle [IP] [IP]> fibers@1.0.15 install /home/node/bundle/programs/server/node_modules/fibers [IP]> node build.js || nodejs build.js [IP] [IP]linux-x64-46
exists; testing [IP]Binary is fine; exiting [IP] [IP]> meteor-dev-bundle@0.0.0 install /home/node/bundle/programs/server [IP]> node npm-rebuild.js [IP] [IP] [IP]> fsevents@1.0.14 install /home/node/bundle/programs/server/npm/node_modules/meteor/momentjs_moment/node _modules/fsevents [IP]> node-pre-gyp install --fallback-to-build [IP] [IP]node-pre-gyp ERR! Tried to download: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1 .0.14-node-v46-linux-x64.tar.gz [IP]node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and node@4.6.2 (node-v46 ABI) (fallin g back to source compile with node-gyp) [IP]make: Entering directory '/home/node/bundle/programs/server/npm/node_modules/meteor/momentjs_moment/node _modules/fsevents/build' [IP] SOLINK_MODULE(target) Release/obj.target/.node [IP] COPY Release/.node [IP]make: Leaving directory '/home/node/bundle/programs/server/npm/node_modules/meteor/momentjsmoment/node modules/fsevents/build' [IP] [IP]> sauce-connect-launcher@0.13.0 postinstall /home/node/bundle/programs/server/npm/node_modules/meteor/mo mentjs_moment/node_modules/sauce-connect-launcher [IP]> node scripts/install.js [IP] [IP] [IP]> phantomjs-prebuilt@2.1.13 install /home/node/bundle/programs/server/npm/node_modules/meteor/momentjs_m oment/node_modules/phantomjs-prebuilt [IP]> node install.js [IP] [IP]PhantomJS not found on PATH [IP]Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.ta r.bz2 [IP]Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 [IP]Receiving...