安装nodejs模块时出现node-gyp错误?

时间:2014-09-26 15:55:24

标签: node.js npm node-gyp


我试图在Windows上安装蒸汽节点模块,并在下面出现错误 我认为这是node-gyp white configure的错误并运行install.js文件
有人能告诉我如何解决这个问题,我发现了很多这样的问题,但答案对我不再有帮助。
谢谢!

npm ERR! ursa@0.8.0 install: `node-gyp configure build && node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ursa@0.8.0 install script.
npm ERR! 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 configure build && node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls ursa
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "steam"
npm ERR! cwd C:\Users\FongZooZ
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

1 个答案:

答案 0 :(得分:0)

添加" C:\ Program Files(x86)\ Microsoft SDKs \"走你的路。