1

I am trying to install NodeJs serialPort on windows, but each time i do npm install serialport i run into the following error

    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]

I tried installing .net Framework 2.0 but the issue persist.

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53
code_legend
  • 3,547
  • 15
  • 51
  • 95

1 Answers1

1

Have you installed Visual Studio, or some other Microsoft package that includes a C++ compiler?

have a read of this post: Error in installing node.js module using npm

Community
  • 1
  • 1
James
  • 361
  • 3
  • 11
  • I have visual studio 2015 installed – code_legend Aug 16 '16 at 19:55
  • @John Add when you installed it did you include the Visual C++ environment? If so you should be able to see something in your path that points to the VC++ compiler. – James Aug 16 '16 at 19:59