problem when installing storj command line terminal
Opened this issue · 1 comments
Deleted user commented
Package Versions
Replace the values below using the output from storjshare --version
.
Null
Replace the values below using the output from node --version
.
6.11.5
Expected Behavior
Please describe the program's expected behavior.
Actual Behavior
Please describe the program's actual behavior. Please include any stack traces
or log output in the back ticks below.
root@VM-249-226-ubuntu:~# npm install --global storjshare-daemon
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN lifecycle scrypt@6.0.3~preinstall: cannot run in wd %s %s (wd=%s) scrypt@6.0.3 node node-scrypt-preinstall.js /root/.nvm/versions/node/v6.11.5/lib/node_modules/.staging/scrypt-5a174511
/root/.nvm/versions/node/v6.11.5/bin/storjshare -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-start -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-start.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-stop -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-stop.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-restart -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-restart.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-status -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-status.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-logs -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-logs.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-save -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-save.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-load -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-load.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-killall -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-killall.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-destroy -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-destroy.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-daemon -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-daemon.js
/root/.nvm/versions/node/v6.11.5/bin/storjshare-create -> /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/bin/storjshare-create.js
> diskusage@0.2.4 install /root/.nvm/versions/node/v6.11.5/lib/node_modules/storjshare-daemon/node_modules/diskusage
> node-gyp rebuild
sh: 1: node-gyp: Permission denied
/root/.nvm/versions/node/v6.11.5/lib
└── (empty)
npm ERR! Linux 4.4.0-97-generic
npm ERR! argv "/root/.nvm/versions/node/v6.11.5/bin/node" "/root/.nvm/versions/node/v6.11.5/bin/npm" "install" "--global" "storjshare-daemon"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! diskusage@0.2.4 install: `node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the diskusage@0.2.4 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the diskusage 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 information on how to open an issue for this project with:
npm ERR! npm bugs diskusage
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls diskusage
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
npm ERR! code 1
Steps to Reproduce
Please include the steps the reproduce the issue, numbered below. Include as
much detail as possible.
- ...
- ...
- ...
Deleted user commented
nearly solve it
npm config set unsafe-perm true