Hi,
Trying to install bitcore with npm but getting this error:
npm install -g bitcore
|
>
[email protected] preinstall /root/.nvm/versions/node/v4.9.1/lib/node_modules/bitcore/node_modules/bitcore-node
> ./scripts/download
./scripts/download: line 30: cd: /root/.nvm/versions/node/v4.9.1/lib/node_modules/bitcore/node_modules/bitcore-node/scripts/../bin: Permissiondenied
npm ERR! Linux 3.13.0-149-generic
npm ERR! argv "/root/.nvm/versions/node/v4.9.1/bin/node" "/root/.nvm/versions/node/v4.9.1/bin/npm" "install" "-g" "bitcore"
npm ERR! node v4.9.1
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR!
[email protected] preinstall: `./scripts/download`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the
[email protected] preinstall script './scripts/download'.
npm ERR! This is most likely a problem with the bitcore-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./scripts/download
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bitcore-node
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls bitcore-node
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
What should I do?
Thanks a lot!