-
Notifications
You must be signed in to change notification settings - Fork 82
Description
sudo npm i -g scrypt
Fail
scrypt@6.0.3 preinstall /usr/lib/node_modules/scrypt
node node-scrypt-preinstall.jsError: Error: Command failed: ./configure
./configure: line 1904: config.log: Permission denied
./configure: line 1914: config.log: Permission deniedscrypt@6.0.3 install /usr/lib/node_modules/scrypt
node-gyp rebuildgyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/scrypt/build'
gyp ERR! System Linux 4.18.0-16-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/scrypt
gyp ERR! node -v v8.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt@6.0.3 install:node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt@6.0.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/filip/.npm/_logs/2019-03-16T19_36_49_422Z-debug.log
This error occur when I want to install scrypt
Node: v8.15.1
npm: 6.4.1