Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

node-gyp build时报错,求大神指点

$
0
0

gyp info it worked if it ends with ok gyp info using node-gyp@3.5.0 gyp info using node@6.2.0 | win32 | x64 gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe gyp info spawn args [ ‘build/binding.sln’, gyp info spawn args ‘/clp:Verbosity=minimal’, gyp info spawn args ‘/nologo’, gyp info spawn args ‘/p:Configuration=Release;Platform=x64’ ] 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 hello.cc…\hello.cc(1): fatal error C1083: 无法打开包括文件:“node.h”: No such file or directory [D:\Program Files\nodejs\microblog\controllers\hello\build\hello.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (D:\Program Files\nodejs\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Windows_NT 10.0.14393 gyp ERR! command “D:\Program Files\nodejs\node.exe” “D:\Program Files\nodejs\node_modules\node-gyp\bin\node-gyp.js” "build" gyp ERR! cwd D:\Program Files\nodejs\microblog\controllers\hello gyp ERR! node -v v6.2.0 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok


Viewing all articles
Browse latest Browse all 14821

Trending Articles