Bitcore won't install on Node


(JacobTDC) #1

npm install -g bitcore doesn’t work and returns errors.

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\jacob>npm install -g bitcore

> bitcore-node@3.1.3 preinstall 
C:\Users\jacob\AppData\Roaming\npm\node_modules\bitcore\node_modules\bitcore-node
> ./scripts/download

'.' is not recognized as an internal or external command,
operable program or batch file.
npm WARN rollback Rolling back for-own@1.0.0 failed (this is probably harmless): EPERM: operation not permitted, 
lstat 'C:\Users\jacob\AppData\Roaming\npm\node_modules\bitcore\node_modules\object.defaults\node_modules'
npm WARN rollback Rolling back isobject@3.0.1 failed (this is probably harmless): EPERM: operation not permitted, 
lstat 'C:\Users\jacob\AppData\Roaming\npm\node_modules\bitcore\node_modules\object.defaults\node_modules'
npm WARN rollback Rolling back hash.js@1.0.3 failed (this is probably harmless): EPERM: operation not permitted, 
scandir 'C:\Users\jacob\AppData\Roaming\npm\node_modules\bitcore\node_modules\bitcore-node\node_modules\bitcore-lib\node_modules\elliptic\node_modules'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bitcore-node@3.1.3 preinstall: `./scripts/download`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bitcore-node@3.1.3 preinstall 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!     C:\Users\jacob\AppData\Roaming\npm-cache\_logs\2017-12-12T02_11_59_702Z-debug.log

C:\Users\jacob>