sendanor / node-crypt3

crypt(3) for Node.js
MIT License
19 stars 18 forks source link

Can't install crypt3 in centOs7 #15

Open JLBear opened 6 years ago

JLBear commented 6 years ago

error message

> crypt3@1.0.0 install /root/node-v8.9.3-linux-x64/lib/node_modules/crypt3
> node-gyp rebuild

gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/root/node-v8.9.3-linux-x64/lib/node_modules/crypt3/build'
gyp ERR! System Linux 3.10.0-514.el7.x86_64
gyp ERR! command "/root/node-v8.9.3-linux-x64/bin/node" "/root/node-v8.9.3-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/node-v8.9.3-linux-x64/lib/node_modules/crypt3
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! crypt3@1.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the crypt3@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
^Cy

^Cy

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-12-25T06_29_18_160Z-debug.log