【发布时间】:2025-11-27 19:05:01
【问题描述】:
我正在尝试在 Windows 7 中安装 angular-cli。但出现错误 -
Failed at node-sass@3.10.1 post install script 'node scripts/build.js'.
我也收到以下错误。
Toolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1
was not found. Install the required version of Windows SDK or change the SDK
version in the project property pages or by right-clicking the solution and
selecting "Retarget solution". [C:\Users\xxx\AppData\Roaming\npm\node
_modules\angular-cli\node_modules\node-sass\build\src\libsass.vcxproj]
有人在 Windows 7 中安装 angular-cli 时遇到过这种问题吗?请帮助解决这个问题。谢谢。
【问题讨论】:
标签: windows-7 angular-cli node-sass