安装业力testing运行器时出错
当我试图在Windows 7上安装karma
,我收到以下消息
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\user\AppData\Roaming\npm\node_modules\karma\ node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bind ing.sln]
我安装了.NET Framework 2.0 Software Development Kit (SDK) (x86)
。 仍然有相同的错误
Keep Calm and Continue Using Karma
这是Karma所有者(Vojta Jina) 对这个问题的评论 :
这只是本地模块的可选编译来加快速度。 即使没有本地模块,它仍然会工作。
在任何情况下,不是一个噶玛问题,所以closures。 如果你想编译原生模块,使用linux / mac 😉
顺便说一句。 关于即使在安装SDK之后也得到相同的错误,可能VCBuild.exe和/或C ++编译器不会被添加到path中。