Can't install on new installation of Ubuntu 16.04

(Priestc) #1

chris@chris-Darter-UltraThin:~$ sudo npm install -g bitcore
npm WARN lifecycle bitcore-node@3.1.3~preinstall: cannot run in wd %s %s (wd=%s) bitcore-node@3.1.3 ./scripts/download /usr/local/lib/node_modules/.staging/bitcore-node-1022aa5a
/usr/local/lib
└── (empty)

npm ERR! Linux 4.4.0-72-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “install” “-g” "bitcore"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! path /usr/local/lib/node_modules/bitcore/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 '/usr/local/lib/node_modules/bitcore/node_modules/bitcore-node/bin/bitcoind’
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/bitcore/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! /home/chris/npm-debug.log
npm ERR! code 1

0 Likes

(FedFranz) #2

What happens if you install it without ‘sudo’?

0 Likes