在centos7中设置bitcore

我想在我的系统(centos7)中设置bitcore,

这里是我现在的系统细节,它满足了bitcore的基本要求:

centos7 : 7.3.1611 npm : 2.25.11 nvm : 0.25.0 node : 4.8.4 Ram : 8GB hard-disk space : 500 GB 

所有的基本设置我都成功了。 现在我正在尝试使用bellow命令在我的系统中安装bitcore

 npm install -g bitcore 

但我面对错误像波纹pipe:

 Unpacking bitcoin distribution bitcoin-0.12.1/ bitcoin-0.12.1/bin/ bitcoin-0.12.1/bin/bitcoin-cli bitcoin-0.12.1/bin/bitcoind bitcoin-0.12.1/bin/bitcoin-qt bitcoin-0.12.1/bin/bitcoin-tx bitcoin-0.12.1/bin/test_bitcoin bitcoin-0.12.1/bin/wallet-utility bitcoin-0.12.1/include/ bitcoin-0.12.1/include/bitcoinconsensus.h bitcoin-0.12.1/lib/ bitcoin-0.12.1/lib/libbitcoinconsensus.so bitcoin-0.12.1/lib/libbitcoinconsensus.so.0 bitcoin-0.12.1/lib/libbitcoinconsensus.so.0.0.0 > zmq@2.15.3 install /root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/zmq > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.8.4" gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/zmq/.node-gyp" gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR make: Entering directory `/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/zmq/build' CXX(target) Release/obj.target/zmq/binding.o SOLINK_MODULE(target) Release/obj.target/zmq.node COPY Release/zmq.node make: Leaving directory `/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/zmq/build' > bufferutil@1.2.1 install /root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/bufferutil > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.8.4" gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/bufferutil/.node-gyp" gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR make: Entering directory `/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node make: Leaving directory `/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/bufferutil/build' > utf-8-validate@1.2.2 install /root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/utf-8-validate > node-gyp rebuild gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.8.4" gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/utf-8-validate/.node-gyp" gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR make: Entering directory `/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory `/root/.nvm/versions/node/v4.8.4/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/utf-8-validate/build' 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! code EJSONPARSE 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 

我尝试了很多次,但每次我面对同样的错误,我不知道为什么会给出错误,有人知道称呼或任何想法,请帮我出来。