Node.js 在windows上运行NodeJs serialPort

Node.js 在windows上运行NodeJs serialPort,node.js,visual-studio,serial-port,Node.js,Visual Studio,Serial Port,我试图在windows上安装NodeJs serialPort,但每次我安装npm 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 Stu

我试图在windows上安装NodeJs serialPort,但每次我安装npm 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]

我尝试安装<代码> .NETFramework 2 < /C>。但是问题仍然存在。

< P>您安装了VisualStudio,或者其他包含C++编译器的微软包?

读一读这篇文章:

我有visual studio 2015installed@John在安装时添加了Visual C++环境吗?如果是这样,您应该能够在路径中看到指向VC++编译器的内容。