bitpay / bitcore-node

Extensible full node using Bitcore
https://bitcore.io/
Other
352 stars 644 forks source link

Error in digitaocean droplet #520

Open ali0818 opened 7 years ago

ali0818 commented 7 years ago

I am in Digitalocean ubuntu droplet and I am root user. Getting this error each time when I try to install bitcore-node Node version = 5.12.0 Npm = 3.8.6

root@Bitcoin:~# npm install -g bitcore-node

npm WARN lifecycle bitcore-node@3.1.3~preinstall: cannot run in wd %s %s (wd=%s) bitcore-node@3.1.3 ./scripts/download /root/.nvm/versions/node/v5.12.0/lib/node_modules/.staging/bitcore-node-d85dd6c0 /root/.nvm/versions/node/v5.12.0/bin/bitcore-node -> /root/.nvm/versions/node/v5.12.0/lib/node_modules/bitcore-node/bin/bitcore-node npm ERR! Linux 4.4.0-87-generic npm ERR! argv "/root/.nvm/versions/node/v5.12.0/bin/node" "/root/.nvm/versions/node/v5.12.0/bin/npm" "install" "-g" "bitcore-node" npm ERR! node v5.12.0 npm ERR! npm v3.8.6 npm ERR! path /root/.nvm/versions/node/v5.12.0/lib/node_modules/bitcore-node/bin/bitcoind npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/root/.nvm/versions/node/v5.12.0/lib/node_modules/bitcore-node/bin/bitcoind' npm ERR! enoent ENOENT: no such file or directory, chmod '/root/.nvm/versions/node/v5.12.0/lib/node_modules/bitcore-node/bin/bitcoind' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent

npm ERR! Please include the following file with any support request: npm ERR! /root/npm-debug.log