【发布时间】:2014-09-26 15:55:23
【问题描述】:
我尝试在 Windows 上安装 Steam 节点模块并在下面出现错误
我认为这是 node-gyp white configure and run install.js file
的错误
有人可以告诉我如何解决这个问题,我发现了很多这样的问题,但答案对我没有帮助了。
谢谢!
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
【问题讨论】:
-
您安装了 Visual Studio 2012 吗?
-
没有,但是我有 Visual Studio 2013 Premium,2013 版本有什么问题吗?
-
看起来 Visual Studio 2013 是个问题,但现在不是了:github.com/TooTallNate/node-gyp/issues/339 通常 Windows 上的 node-gyp 问题归结为 Visual C++ 编译器的问题,这很可能是您的问题所在。跨度>