I followed this solution:
bcrypt is breaking my meteor application, how do I fix it?
But Im still getting this error:
/home/kaleobox/bundle/programs/server/node_modules/fibers/future.js:245
throw(ex);
^
Error: /home/kaleobox/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 (/home/kaleobox/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15)
at Object.<anonymous> (/home/kaleobox/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/bcrypt.js:3:35)
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)
I went into /home/kaleobox/bundle/programs/server/node_modules
and did:
rm -R /home/kaleobox/bundle/programs/server/node_modules/bcrypt
then
npm install bcrypt
but the error above persists. The line
/home/kaleobox/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build/Release/bcrypt_lib.node: invalid ELF header
tells me I may have to remove and reinstall bcrypt in that second location?