簡體   English   中英

安裝業力測試運行程序時出錯

[英]Error on installing karma test runner

當我嘗試在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) 對這個問題的評論

這只是本機模塊的可選編譯,以加快處理速度。 即使沒有本機模塊,它仍然可以工作。

無論如何,不​​是因果報應的問題,所以關閉。 如果要編譯本機模塊,請使用linux / mac ;-)


順便說一句。 關於即使在安裝SDK之后也會出現相同的錯誤,可能VCBuild.exe和/或C ++編譯器未添加到路徑。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM