【发布时间】:2016-10-26 03:15:24
【问题描述】:
我已经面临这个问题好几个星期了,没有希望得到解决。我是 Aurelia JavaScript 框架的新手,我正在掌握托管在 github 上的骨架项目。
我已经成功安装了nodejs、npm和jspm。作为我应该运行的要求的一部分:
npm install
代码运行良好,但遇到以下错误
C:\Users\baba\.node-gyp\4.4.5\include\node\v8.h(18): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [E:\fwb\node_modules\u
tf-8-validate\build\validation.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\baba\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\nodejs\\node.exe" "C:\\Users\\baba\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\fwb\node_modules\utf-8-validate
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
我不知道我错过了什么或做错了什么。我将不胜感激任何帮助以使此程序运行而不会出现任何错误,或者让我朝着正确的方向迈出一步来解决这个问题。
谢谢。
【问题讨论】:
标签: node.js npm aurelia node-gyp rebuild