NPM软件包不在Windows 8.1上构建 - 失败并出现以下错误,
error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
我试过以下,
VCTargetsPath为C:\Program Files (x86)\MSBuild\12.0\(错误会相应更改,但Microsoft.Cpp.Default.props2012年构建工具没有).Node-gypwiki工作VisualStudioVersion根据这个答案,在运行npm之前尝试设置--msvs_version=2012根据这个答案尝试传递给npm以上都没有奏效.
我已经花了很多年的时间.有没有人有明确的答案有效?