安装业力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中。
- 噶Require.js – 改变目录结构正在杀死一切
- 在jasmine规范中使用module.exports
- 运行npm update时出错:找不到兼容版本:fsevents
- Karmatesting,PhantomJS错误:无法find模块'事件'
- npm install -g karma不安装可执行文件
- 在Windows上使用karma-browserify找不到模块错误
- 如何解决错误“请设置envvariablesCHROME_BIN”运行Angular.js与咕噜声
- 如何使用全球安装的Karma插件
- Karma与ReferenceError错误:在karmaconfiguration文件本身上找不到variables:module