我正在尝试安装ember cli但遇到错误
C:\Program Files x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.
Win32.Targets(511,5): error MSB8008: Specified platform toolset (v110) is not installed
or invalid. Please make sure that a supported PlatformToolset value is selected.
[C:\Users\garrett\AppData\Roaming\npm\node_modules\ember-cli\node_modules\testem
\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client
\node_modules\ws\node_modules\bufferutil\build\bufferutil.vcxproj]
我的库中不存在bufferutil,并在我尝试安装时出现此错误
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp
.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v110) is not
installed or invalid. Please make sure that a supported PlatformToolset value is selected.
[C:\Users\garrett\node_modules\bufferutil\build\bufferutil.vcxproj]gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
`failed with exit code: 1
它似乎没有针对正确版本的视觉工作室,但它没有指定版本
答案 0 :(得分:0)
Visual Studio Platform Toolset 110是Visual Studio 2012。
https://msdn.microsoft.com/en-us/library/vstudio/Ff770576(v=VS.110).aspx
从此处安装正确的.Net框架:https://msdn.microsoft.com/en-us/library/w0x726c2(v=VS.110).aspx