So I am running into a very weird error I can’t seem to fix:
Deploying my (worker) app via pm2-meteor
to my server, my app can not be started due to this error:
0|orderlio | Error: /opt/orderlion-worker/bundle/programs/server/npm/node_modules/detect-character-encoding/build/Release/icuWrapper.node: invalid ELF header
0|orderlio | at Object.Module._extensions..node (module.js:682:18)
0|orderlio | at Module.load (module.js:566:32)
0|orderlio | at tryModuleLoad (module.js:506:12)
0|orderlio | at Function.Module._load (module.js:498:3)
0|orderlio | at Module.require (module.js:597:17)
0|orderlio | at require (internal/module.js:11:18)
...
0|orderlio | Note: you are using a pure-JavaScript implementation of bcrypt.
0|orderlio | While this implementation will work correctly, it is known to be
0|orderlio | approximately three times slower than the native implementation.
0|orderlio | In order to use the native implementation instead, run
0|orderlio |
0|orderlio | meteor npm install --save bcrypt
0|orderlio |
0|orderlio | in the root directory of your application.
But no matter what I do, this message always pops up.
I tried npm install -g bcrypt
on my server, (obviously) I have bcrypt
in my package.json
… nothing is helping me solve this error.
Anyone ever experienced this?