【发布时间】:2014-08-13 15:40:21
【问题描述】:
我正在尝试使用 Node.js 构建 REST Web 服务,因此从http://nodejs.org/ 下载并安装了 node.js 版本 0.10.29,安装后我尝试安装 restify 并安装了 python 版本 2.5。
C:\Program Files\nodejs>npm install restify
它显示 Error:'gyp' failed with the exit code :1? 如下图所示,我也在谷歌中搜索了很多关于此错误的信息,但我无法找到解决办法。
【问题讨论】:
-
检查这个stackoverflow.com/questions/21155922/…它说你在安装过程中需要python 2.6。
标签: node.js rest npm windows-7-x64