什么原因?
senhanxiao opened this issue · comments
G:\NW\edge-demo-master\edge-demo-master\node_modules\edge>nw-gyp build --target=0.17.6
gyp info it worked if it ends with ok
gyp info using nw-gyp@3.4.0
gyp info using node@6.9.1 | win32 | x64
gyp info
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\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”开关。
utils.cpp
clrfunc.cpp
clrfuncinvokecontext.cpp
nodejsfunc.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\utils.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\clrfunc.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\clrfuncinvokecontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
nodejsfuncinvokecontext.cpp
persistentdisposecontext.cpp
clrfuncreflectionwrap.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\clrfuncreflectionwrap.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\persistentdisposecontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxpr
oj]
clractioncontext.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\nodejsfunc.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
v8synchronizationcontext.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\nodejsfuncinvokecontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxpro
j]
edge.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\common\edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file or director
y (编译源文件 ..\src\common\edge.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\dotnet../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file o
r directory (编译源文件 ..\src\dotnet\clractioncontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\common\edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file or director
y (编译源文件 ..\src\common\v8synchronizationcontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_nativeclr.vcxproj]
v8synchronizationcontext.cpp
edge.cpp
coreclrembedding.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\common\edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file or director
y (编译源文件 ..\src\common\v8synchronizationcontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_coreclr.vcxproj]
coreclrfunc.cpp
coreclrnodejsfunc.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\common\edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file or director
y (编译源文件 ..\src\common\edge.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_coreclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\coreclrembedding../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No s
uch file or directory (编译源文件 ..\src\CoreCLREmbedding\coreclrembedding.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_cor
eclr.vcxproj]
coreclrfuncinvokecontext.cpp
coreclrnodejsfuncinvokecontext.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\coreclrembedding../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No s
uch file or directory (编译源文件 ..\src\CoreCLREmbedding\coreclrfunc.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_coreclr.
vcxproj]
utils.cpp
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\coreclrembedding../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No s
uch file or directory (编译源文件 ..\src\CoreCLREmbedding\coreclrnodejsfunc.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_co
reclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\coreclrembedding../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No s
uch file or directory (编译源文件 ..\src\CoreCLREmbedding\coreclrnodejsfuncinvokecontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge
build\edge_coreclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\coreclrembedding../common/edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No s
uch file or directory (编译源文件 ..\src\CoreCLREmbedding\coreclrfuncinvokecontext.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build
edge_coreclr.vcxproj]
g:\nw\edge-demo-master\edge-demo-master\node_modules\edge\src\common\edge_common.h(4): fatal error C1083: 无法打开包括文件: “v8.h”: No such file or director
y (编译源文件 ..\src\common\utils.cpp) [G:\NW\edge-demo-master\edge-demo-master\node_modules\edge\build\edge_coreclr.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\搞枫搞雨\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js:294: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:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\搞枫搞雨\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js" "build" "--target=0.17.6"
gyp ERR! cwd G:\NW\edge-demo-master\edge-demo-master\node_modules\edge
gyp ERR! node -v v6.9.1
gyp ERR! nw-gyp -v v3.4.0
gyp ERR! not ok
please use nw-gyp rebuild --target=0.17.6
.