无法安装区块链钱包服务

时间:2016-05-05 14:17:55

标签: node.js

  • 我的 npm 版本为2.15.1
  • 节点版本为4.4.3
  • CentOS 发布6.7(最终版)

当我跑步时

npm install -g blockchain-wallet-service

控制台显示错误:

  

gyp ERR!构建错误gyp ERR!堆栈错误:make退出失败   代码:2 gyp ERR!在ChildProcess.onExit堆栈   (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)   gyp ERR!堆栈在emitTwo(events.js:87:13)gyp ERR!堆栈在   ChildProcess.emit(events.js:172:7)gyp ERR!堆栈在   Process.ChildProcess._handle.onexit(internal / child_process.js:200:12)   gyp ERR!系统Linux 2.6.32-573.el6.x86_64 gyp ERR!命令   "在/ usr /斌/节点"   " /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"   "重建" gyp ERR! CWD   /usr/lib/node_modules/blockchain-wallet-service/node_modules/blockchain.info/node_modules/ws/node_modules/utf-8-validate   gyp ERR! node -v v4.4.3 gyp ERR! node-gyp -v v3.3.1 gyp ERR!不行

然后我尝试运行服务blockchain-wallet-service start --port 3000并尝试连接到服务

curl -X POST
'http://localhost:3000/api/v2/create?api_code=myCode&password=aPassword'

在服务控制台中有消息

  

错误:RNG.run [ReferenceError:未定义XMLHttpRequest]   1462457502389 - 错误:生成entropyReferenceError时出错:   XMLHttpRequest未定义

请告诉我如何解决此问题。区块链钱包服务需要node >= 0.12.0npm >= 2.12.0, < 3.0.0

以下是我使用service-my-wallet-v3的网址。

0 个答案:

没有答案
相关问题