Npm install -g bitcore

(Lalitpatadiya12) #1

When i try to install bitcore i face the error like bellow

npm ERR! Linux 3.10.0-514.26.2.el7.x86_64
npm ERR! argv “/root/.nvm/versions/node/v4.8.4/bin/node” “/root/.nvm/versions/node/v4.8.4/bin/npm” “install” “-g” "bitcore"
npm ERR! node v4.8.4
npm ERR! npm v2.15.11
npm ERR! file /root/.npm/yallist/2.1.2/package/package.json

npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /root/.npm/yallist/2.1.2/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

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

(Michael Smyers) #2


Failed to parse json

No data, empty input


I googled “EJSONPARSE npm yallist” and found the answer to your question on the first page.

Good luck