我正在尝试在Windows上安装NodeJs serialPort,但每次我npm install serialport
时都会遇到以下错误
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 Visual Studio 2005
3) add the location of the component to the system path if it is installed elsewhere.
[C:\[...]\electron-with-express\express-app\node_modules\serialport\build\binding.sln]
我尝试安装.net Framework 2.0
,但问题仍然存在。
答案 0 :(得分:1)
您是否安装了Visual Studio或其他包含C ++编译器的Microsoft软件包?