I used meteor 0.8.x, but recently tried to upgrade to 0.9.2. It works locally, but I had no luck with meteor bundle or meteor build
I got this error first
/var/projects/myproject/live/bundle/programs/server/boot.js:198 }).run(); ^ Error: /var/projects/myproject/live/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build/Release/bcrypt_lib.node: invalid ELF header at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at bindings (/var/projects/myproject/live/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15) at Object.<anonymous> (/var/projects/myproject/live/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/bcrypt.js:1:97) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12)
Things i tried
- Make sure that
live/bundle/programs/server/node_modules does not exist before starting. - ran
npm install in live/bundle/programs/server since README says
Things I noticed. There bcrypt is located in live/bundle/programs/server/package.json . In 0.8.2, I had commands to install both fibers and bcrypt manually, but apparently I no longer need fibers. It looks like I need bcrypt alone, but it's in a different place than before.
I donβt see anything in the documents about the need to go to /var/projects/myproject/live/bundle/programs/server/npm/npm-bcrypt and install bcrypt . I can delete it manually, but am doing something wrong?
As I said, I already install it where 0.8.2 needed it in programs/server . Should I manually install in program/server/npm/npm-bcrypt ? Should I add this to my list of places to ignore
I put it just to try and now I get this error
/var/projects/myproject/live/bundle/programs/server/node_modules/fibers/future.js:173 throw(ex); ^ Error: Cannot find module 'websocket-driver' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/var/projects/myproject/live/bundle/programs/server/npm/ddp/node_modules/faye-websocket/lib/faye/websocket.js:8:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
Is this another module that I need to install manually? I get the impression that I'm just doing something fundamentally wrong.
I have the following meteor packets
.meteor / packages
# Meteor packages used by this project, one per line.
packages.json
{ "semver": "2.3.1", "winston": "0.7.3", "winston-loggly": "1.0.1" }
note: I am developing / integrating OSX but deploying to Ubuntu.