electron-windows-notifications
electron-windows-notifications copied to clipboard
node-gyp rebuild failure
> node-gyp rebuild
E:\workspace\LearnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel>if not defined npm_config_node_gyp (node "D:\Program File\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\Program File\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
在此解决方案中一次生成一个项目。若要启用并行生成,请添加“-m”开关。
_nodert_generated.cpp
NodeRtUtils.cpp
OpaqueWrapper.cpp
CollectionsConverterUtils.cpp
win_delay_load_hook.cc
E:\workspace\LearnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\_nodert_ge
nerated.cpp : fatal error C1107: 未能找到程序集“platform.winmd”: 请使用 /AI 或通过设置 LIBPATH 环境变量指定程序集搜索 路径 [E:\workspace\LearnProjec
t\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\build\binding.vcxproj]
E:\workspace\LearnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\Collection
sConverterUtils.cpp : fatal error C1107: 未能找到程序集“platform.winmd”: 请使用 /AI 或通过设置 LIBPATH 环境变量指定程 序集搜索路径 [E:\workspace\Lea
rnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\build\binding.vcxproj]
D:\Program File\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.cc : fatal error C1107: 未能找到程序集“p
latform.winmd”: 请使用 /AI 或通过设置 LIBPATH 环境变量指定程序集搜索路径 [E:\workspace\LearnProject\electronjs\electron-study-1\node_modules
\@nodert-win10-au\windows.applicationmodel\build\binding.vcxproj]
E:\workspace\LearnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\NodeRtUtil
s.cpp : fatal error C1107: 未能找到程序集“platform.winmd”: 请使用 /AI 或通过设置 LIBPATH 环境变量指定程序集搜索路径 [E:\workspace\LearnProject\elec
tronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\build\binding.vcxproj]
E:\workspace\LearnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\OpaqueWrap
per.cpp : fatal error C1107: 未能找到程序集“platform.winmd”: 请使用 /AI 或通过设置 LIBPATH 环境变量指定程序集搜索路径 [E:\workspace\LearnProject\el
ectronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel\build\binding.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `D:\Program Files (x86)\Microsoft\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:\Program File\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "D:\\Program File\\nodejs\\node.exe" "D:\\Program File\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\workspace\LearnProject\electronjs\electron-study-1\node_modules\@nodert-win10-au\windows.applicationmodel
gyp ERR! node -v v14.16.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\electron-installer-redhat):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\electron-installer-flatpak):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\appdmg):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\macos-alias):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fs-xattr):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\electron-installer-debian):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodert-win10-au/[email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodert-win10-au/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! D:\AppData\Data\npm\node_cache\_logs\2021-04-08T02_44_00_615Z-debug.log