-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
I just uninstall all outdated SDK, but when I start my project I find nsfw dependency error about 10.0.22621.0 not find
But when I search for it I found it is out of service
https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
Full truncated logs:
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64',
gyp info spawn args map: [Function (anonymous)]
gyp info spawn args ]
生成启动时间为 2025/11/22 星期六 15:43:46。
节点 1 上的项目“I:\github\TidGi-Desktop\node_modules\nsfw\build\binding.sln”(默认目标)。
ValidateSolutionConfiguration:
正在生成解决方案配置“Release|x64”。
项目“I:\github\TidGi-Desktop\node_modules\nsfw\build\binding.sln”(1)正在节点 1 上生成“I:\github\TidGi-Desktop\node_modules\nsfw\build\nsfw.vcxproj”(2) (默认目标)。
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: 找不到 Windows SDK 版本 10.0.22621.0。请安装所需版本的 Windows
SDK,或者在项目属性页中或通过右键单击解决方案并选择“重定解决方案目标”来更改 SDK 版本。 [I:\github\TidGi-Desktop\node_modules\nsfw\build\nsfw.vcxproj]
已完成生成项目“I:\github\TidGi-Desktop\node_modules\nsfw\build\nsfw.vcxproj”(默认目标)的操作 - 失败。
已完成生成项目“I:\github\TidGi-Desktop\node_modules\nsfw\build\binding.sln”(默认目标)的操作 - 失败。
生成失败。
“I:\github\TidGi-Desktop\node_modules\nsfw\build\binding.sln”(默认目标) (1) ->
“I:\github\TidGi-Desktop\node_modules\nsfw\build\nsfw.vcxproj”(默认目标) (2) ->
(_CheckWindowsSDKInstalled 目标) ->
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: 找不到 Windows SDK 版本 10.0.22621.0。请安装所需版本的 Windows
SDK,或者在项目属性页中或通过右键单击解决方案并选择“重定解决方案目标”来更改 SDK 版本。 [I:\github\TidGi-Desktop\node_modules\nsfw\build\nsfw.vcxproj]
0 个警告
1 个错误
已用时间 00:00:00.19
Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
at ChildProcess.<anonymous> (I:\github\TidGi-Desktop\node_modules\@electron\node-gyp\lib\build.js:215:23)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
Metadata
Metadata
Assignees
Labels
No labels