JoshKaufman / ursa

URSA - RSA public/private key OpenSSL bindings for Node.js
Other
620 stars 135 forks source link

Install failed #132

Closed Tammeny closed 8 years ago

Tammeny commented 8 years ago

Hi,when i run npm install ursa,the console throw out: npm ERR! Windows_NT 10.0.10586 npm ERR! argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\ node_modules\npm\bin\npm-cli.js" "install" "ursa" npm ERR! node v5.6.0 npm ERR! npm v3.6.0 npm ERR! code ELIFECYCLE

npm ERR! ursa@0.9.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ursa@0.9.3 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the ursa package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs ursa npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls ursa npm ERR! There is likely additional logging output above.

Tammeny commented 8 years ago

On Windows, we need to install OpenSSL and node-gyp (npm install -g node-gyp) at first. Whatever, thx.