Deploying to Galaxy fails - node-pre-gyp: Permission denied

Hi!

I have three projects on galaxy and now i have difficulties to deploy the newest app to Galaxy! Everything works fine locally and I have deployed hundreds time before this. This is the first time for newest app. I tried to Google but nothing have worekd. What can i do?

node-pre-gyp: Permission denied or
node-pre-gyp: not found

2017-02-07 22:42:39+02:00> bcrypt@1.0.2 install /app/bundle/programs/server/npm/node_modules/bcrypt
2017-02-07 22:42:39+02:00> node-pre-gyp install --fallback-to-build
2017-02-07 22:42:39+02:00
2017-02-07 22:42:39+02:00sh: 1: node-pre-gyp: Permission denied
2017-02-07 22:42:39+02:00
2017-02-07 22:42:40+02:00npm ERR! Linux 4.4.0-59-generic
2017-02-07 22:42:40+02:00npm ERR! argv “/node-v4.7.3-linux-x64/bin/node” “/node-v4.7.3-linux-x64/bin/npm” “rebuild” "–update-binary"
2017-02-07 22:42:40+02:00npm ERR! node v4.7.3
2017-02-07 22:42:40+02:00npm ERR! npm v4.1.2
2017-02-07 22:42:40+02:00npm ERR! code ELIFECYCLE
2017-02-07 22:42:40+02:00npm ERR! bcrypt@1.0.2 install: node-pre-gyp install --fallback-to-build
2017-02-07 22:42:40+02:00npm ERR! Exit status 126
2017-02-07 22:42:40+02:00npm ERR!
2017-02-07 22:42:40+02:00npm ERR! Failed at the bcrypt@1.0.2 install script ‘node-pre-gyp install --fallback-to-build’.
2017-02-07 22:42:40+02:00npm ERR! Make sure you have the latest version of node.js and npm installed.
2017-02-07 22:42:40+02:00npm ERR! If you do, this is most likely a problem with the bcrypt package,
2017-02-07 22:42:40+02:00npm ERR! not with npm itself.
2017-02-07 22:42:40+02:00npm ERR! Tell the author that this fails on your system:
2017-02-07 22:42:40+02:00npm ERR! node-pre-gyp install --fallback-to-build
2017-02-07 22:42:40+02:00npm ERR! You can get information on how to open an issue for this project with:
2017-02-07 22:42:40+02:00npm ERR! npm bugs bcrypt
2017-02-07 22:42:40+02:00npm ERR! Or if that isn’t available, you can get their info via:
2017-02-07 22:42:40+02:00npm ERR! npm owner ls bcrypt
2017-02-07 22:42:40+02:00npm ERR! There is likely additional logging output above.
2017-02-07 22:42:40+02:00
2017-02-07 22:42:40+02:00npm ERR! Please include the following file with any support request:
2017-02-07 22:42:40+02:00npm ERR! /app/bundle/programs/server/npm/npm-debug.log
2017-02-07 22:42:40+02:00
2017-02-07 22:42:40+02:00npm WARN meteor-dev-bundle@0.0.0 No description
2017-02-07 22:42:40+02:00npm WARN meteor-dev-bundle@0.0.0 No repository field.
2017-02-07 22:42:40+02:00npm WARN meteor-dev-bundle@0.0.0 No license field.
2017-02-07 22:42:40+02:00npm ERR! Linux 4.4.0-59-generic
2017-02-07 22:42:40+02:00npm ERR! argv “/node-v4.7.3-linux-x64/bin/node” “/node-v4.7.3-linux-x64/bin/npm” “install” "–unsafe-perm"
2017-02-07 22:42:40+02:00npm ERR! node v4.7.3
2017-02-07 22:42:40+02:00npm ERR! npm v4.1.2
2017-02-07 22:42:40+02:00npm ERR! code ELIFECYCLE
2017-02-07 22:42:40+02:00npm ERR! meteor-dev-bundle@0.0.0 install: node npm-rebuild.js
2017-02-07 22:42:40+02:00npm ERR! Exit status 1
2017-02-07 22:42:40+02:00npm ERR!
2017-02-07 22:42:40+02:00npm ERR! Failed at the meteor-dev-bundle@0.0.0 install script ‘node npm-rebuild.js’.
2017-02-07 22:42:40+02:00npm ERR! Make sure you have the latest version of node.js and npm installed.
2017-02-07 22:42:40+02:00npm ERR! If you do, this is most likely a problem with the meteor-dev-bundle package,
2017-02-07 22:42:40+02:00npm ERR! not with npm itself.
2017-02-07 22:42:40+02:00npm ERR! Tell the author that this fails on your system:
2017-02-07 22:42:40+02:00npm ERR! node npm-rebuild.js
2017-02-07 22:42:40+02:00npm ERR! You can get information on how to open an issue for this project with:
2017-02-07 22:42:40+02:00npm ERR! npm bugs meteor-dev-bundle
2017-02-07 22:42:40+02:00npm ERR! Or if that isn’t available, you can get their info via:
2017-02-07 22:42:40+02:00npm ERR! npm owner ls meteor-dev-bundle
2017-02-07 22:42:40+02:00npm ERR! There is likely additional logging output above.
2017-02-07 22:42:40+02:00
2017-02-07 22:42:40+02:00npm ERR! Please include the following file with any support request:
2017-02-07 22:42:40+02:00npm ERR! /app/bundle/programs/server/npm-debug.log

"Galaxy: Production Meteor Deployments with Zero DevOps "

but still, need to figure out these bug!! Anoying! But, i need to thank Meteor support, they answered within 8 ours and told me

I believe you’re being affected by the issue linked below:


As stated there, there is a workaround: you should be able to use the command

meteor npm install --save bcrypt@0.8.7