想要编译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 [email protected] install: node-gyp rebuild
428 error Exit status 1
429 error Failed at the [email protected] 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.
问题我自己已经解决了…还是因为微软提供的vs2015的c++编译器的问题,更换为vs2013就好了,另外,在linux正常安装。 所以我感觉还是在liunx写代码会更安全一些,win下总出现一些莫名其妙的问题。
@lxlhum 算你说对了- -