npm更新失败与cryptonote

我正在安装electroneum池git。 我跑npm更新,我一直得到相同的错误,我试过改变节点版本,但是没有任何区别。

这是错误


 root @ ubuntu:〜/ pool#npm update

 > [email protected] install / root / pool / node_modules / bignum
 > node-pre-gyp install  - 回落到构build

 [bignum]成功:通过远程安装“/root/pool/node_modules/bignum/binding/bignum.node”

 > [email protected] install / root / pool / node_modules / cryptonote-util
 > node-gyp重build

 make:进入目录'/ root / pool / node_modules / cryptonote-util / build'
   CXX(target)Release / obj.target / cryptonote / src / main.o
   CXX(target)Release / obj.target / cryptonote / src / cryptonote_core / cryptonote_format_utils.o
 ../src/cryptonote_core/cryptonote_format_utils.cpp:在函数'bool cryptonote :: check_proof_of_work(const cryptonote :: block&,cryptonote :: difficulty_type,crypto :: hash&':
 ../src/cryptonote_core/cryptonote_format_utils.cpp:938:3:警告:没有返回语句在函数返回非void [-Wreturn-type]
    }
    ^
   CC(target)Release / obj.target / cryptonote / src / crypto / tree-hash.o
   CXX(target)Release / obj.target / cryptonote / src / crypto / crypto.o
 ../src/crypto/crypto.cpp:在函数'std :: size_tencryption:: rs_comm_size(std :: size_t)':
 ../src/crypto/crypto.cpp:224:58:错误:不完整types的值初始化'crypto :: rs_comm :: []'
     返回sizeof(rs_comm)+ pubs_count * sizeof(rs_comm()。ab [0]);
                                                           ^
 cryptonote.target.mk:116:目标配方“Release / obj.target / cryptonote / src / crypto / crypto.o”失败
 make:*** [Release / obj.target / cryptonote / src / crypto / crypto.o]错误1
 make:离开目录'/ root / pool / node_modules / cryptonote-util / build'
 gyp ERR! build立错误 
 gyp ERR! 堆栈错误:`make`失败,退出代码:2
 gyp ERR! 在ChildProcess.onExit(/usr/local/lib/node_modules/node-gyp/lib/build.js:258: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:211:12)
 gyp ERR! 系统Linux 4.10.0-38-通用
 gyp ERR! 命令“/ usr / bin / nodejs”“/ usr / local / bin / node-gyp”“rebuild”
 gyp ERR!  cwd / root / pool / node_modules / cryptonote-util
 gyp ERR!  node -v v4.7.2
 gyp ERR!  node-gyp -v v3.6.2
 gyp ERR! 不好 
 [email protected] / root / pool
 ├──[email protected] 
 ├──[email protected] 
 ├──[email protected] 
 ├──[email protected] 
 ├──[email protected] 
 ├──[email protected](git://github.com/zone117x/node-multi-hashing.git#73996fe77104108f2d66ef750b3e1bce42e4d8f0)
 └──[email protected] 

 npm ERR!  Linux 4.10.0-38-通用
 npm ERR!  argv“/ usr / bin / nodejs”“/ usr / bin / npm”“update”
 npm ERR! 节点v4.7.2
 npm ERR!  npm v3.5.2
 npm ERR! 代码ELIFECYCLE

 npm ERR!  [email protected]安装:`node-gyp rebuild`
 npm ERR! 退出状态1
 npm ERR! 
 npm ERR! 在[email protected]安装脚本“node-gyp rebuild”失败。
 npm ERR! 确保你已经安装了最新版本的node.js和npm。
 npm ERR! 如果这样做,这很可能是cryptonote-util软件包的一个问题,
 npm ERR! 而不是npm本身。
 npm ERR! 告诉作者这在您的系统上失败:
 npm ERR! 节点gyp重build
 npm ERR! 您可以通过以下方式获得有关如何为此项目打开问题的信息:
 npm ERR!  npm错误cryptonote-util
 npm ERR! 或者,如果这不可用,您可以通过以下方式获取他们的信息:
 npm ERR!  npm所有者ls cryptonote-util
 npm ERR! 上面可能还有额外的日志输出。

 npm ERR! 请包括以下任何支持请求的文件:
 npm ERR!  /root/pool/npm-debug.log