Gandi Groups


Gandi Simple Hosting: Can't install crypt for nodes

You should be logged in to post new messages. Create an account.

Hi,

When I try to install bcrpyt (npm install bcrypt) on my simple hosting, I
get the following error:
bcrypt@0.7.8 install /srv/data/web/vhosts/default/node_modules/bcrypt
node-gyp rebuild
gyp WARN EACCES user "undefined" does not have permission to access the
dev dir "/srv/data/.node-gyp/0.10.29"
gyp WARN EACCES attempting to reinstall using temporary dev dir
"/srv/data/tmp/.node-gyp"
gyp ERR! build error 
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F
(/opt/nodejs/0.10.29/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack     at E
(/opt/nodejs/0.10.29/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack     at
/opt/nodejs/0.10.29/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack     at Object.oncomplete (fs.js:107:15)
gyp ERR! System Linux 3.10.40-grsec-paas-0e24b6d
gyp ERR! command "node"
"/opt/nodejs/0.10.29/lib/node_modules/npm/node_modules/node->
gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /srv/data/web/vhosts/default/node_modules/bcrypt
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok 
npm ERR! bcrypt@0.7.8 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bcrypt@0.7.8 install script.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.10.40-grsec-paas-0e24b6d
npm ERR! command "/opt/nodejs/0.10.29/bin/node"
"/opt/nodejs/0.10.29/bin/npm" "install" "bcrypt"
npm ERR! cwd /srv/data/web/vhosts/default
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! not ok code 0
What can I do ?

Thanks. Phil