CNode

ed25519编译问题

问答
Llxlhum发布于10 年前最后回复10 年前3 回复4363 浏览0 收藏

想要编译ed25519模块,但是一直报错,请大家看看问题在哪? error Windows_NT 10.0.14393 424 error argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--save" "ed25519" 425 error node v0.12.10 426 error npm v2.14.9 427 error code ELIFECYCLE 428 error ed25519@0.0.4 install: node-gyp rebuild 428 error Exit status 1 429 error Failed at the ed25519@0.0.4 install script 'node-gyp rebuild'. 429 error This is most likely a problem with the ed25519 package, 429 error not with npm itself. 429 error Tell the author that this fails on your system: 429 error node-gyp rebuild 429 error You can get their info via: 429 error npm owner ls ed25519 429 error There is likely additional logging output above.

查看回复

回复 (3)

L
lxlhum#1·10 年前

问题我自己已经解决了......还是因为微软提供的vs2015的c++编译器的问题,更换为vs2013就好了,另外,在linux正常安装。 所以我感觉还是在liunx写代码会更安全一些,win下总出现一些莫名其妙的问题。

L
lxlhum#3·10 年前
引用 DevinXian@lxlhum 算你说对了

@DevinXian 哈哈哈哈哈,我后来早vs2015下也可以编译成功了

参与回复
登录后即可参与回复。登录