node-gyp构建错误'msbuild失败,错误代码为1'

时间:2015-04-22 06:59:33

标签: node.js msbuild npm node-gyp

我在尝试运行时遇到此错误

node-gyp build

gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (c:\Users\Ramya\AppData\Roaming\npm\no
de_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Users\\Ramya\\AppDat
a\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build"
gyp ERR! cwd f:\ontology\api\ontoapi\example\node_modules
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok

我已经设置了--msvs_verion=2013。我已经为python 2.7设置了路径。我使用的是Windows 8.1,nodejs - 0.12.2,npm-2.7.4,node-gyp-1.0.3

0 个答案:

没有答案