Error in install 'bitcore-node' package in windows7


(Hardik Mansara) #1

Hi,
I need getBalance function for bitcoin address.

var bitcore = require('bitcore-node');
var Bitcoin = bitcore.Service.Bitcoin;

This is my code. when i try to install ‘npm install bitcore-node’. It display error.

F:\TFS_Eviral\Eviral_ICO\Project_ICO\BackEnd>npm install bitcore-node --save

bitcore-node@3.1.3 preinstall F:\TFS_Eviral\Eviral_ICO\Project_ICO\BackEnd\nod
e_modules\bitcore-node
./scripts/download
’.’ is not recognized as an internal or external command,
operable program or batch file.
npm WARN Error: EPERM: operation not permitted, scandir 'F:\TFS_Eviral\Eviral_IC
O\Project_ICO\BackEnd\node_modules\findup-sync\node_modules\is-data-descriptor\n
ode_modules’
npm WARN { Error: EPERM: operation not permitted, scandir 'F:\TFS_Eviral\Eviral
_ICO\Project_ICO\BackEnd\node_modules\findup-sync\node_modules\is-data-descripto
r\node_modules’
npm WARN stack: ‘Error: EPERM: operation not permitted, scandir ‘F:\TFS_Evir
al\Eviral_ICO\Project_ICO\BackEnd\node_modules\findup-sync\node_modules\i
s-data-descriptor\node_modules’’,
npm WARN errno: -4048,
npm WARN code: ‘EPERM’,
npm WARN syscall: ‘scandir’,
npm WARN path: ‘F:\TFS_Eviral\Eviral_ICO\Project_ICO\BackEnd\node_modules
\findup-sync\node_modules\is-data-descriptor\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 log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hardik_eviral\AppData\Roaming\npm-cache_logs\2018-01-10T0
7_23_57_068Z-debug.log