npm install error - MSB3428: Could not load the Visual C++ component "VCBuild.exe"

could not load the visual c++ component vcbuild.exe node-sass
npm install error visual studio
could not install visual studio build tools.
msbuild error msb3428 node-sass
npm install windows-build-tools
warning: unrecognized setting vcclcompilertool/multiprocessorcompilation
npm install python
could not install visual studio build tools. npm

I'm trying to use the

npm install steam

but I am getting an error saying

I'm not sure how to fix this and I have gotten this on two different npm module installs. I can install other modules however.

What I have tried: Install whatever dependencies it needs. (ursa, node-gyp etc) Install Visual C++ 2005. Install Visual C++ 2010. Change the enviroment variable path to /VC/ (found on another StackOverflow thread/question. Googled, googled & googled.

I also get an error trying do:

npm install ursa

The error is:

Try this from cmd line as Administrator

optional part, if you need to use a proxy:

set HTTP_PROXY=http://login:password@your-proxy-host:your-proxy-port
set HTTPS_PROXY=http://login:password@your-proxy-host:your-proxy-port

run this:

npm install -g --production windows-build-tools

No need for Visual Studio. This has what you need.

References:

https://www.npmjs.com/package/windows-build-tools https://github.com/felixrieseberg/windows-build-tools

npm install error - MSB3428: Could not load the , NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the error MSB3428: Could not load the Visual C++ component "VCBuild.exe". [C:\​xampp\htdocs\node-printer\build\binding.sln] MSBUILD : error  Look at the installation instructions for node-gyp - you can't just npm install node-gyp.I see you've installed Visual C++, but there's more to it. What version of windows do you have? If I knew that I might be able to tel

I know it's a very old question, but is the first in my google search and after some time I got how to solve this.

find node on your windows with $ npm install -g which $ which node after cd into the directory, inside the directory cd into node_modules\npm folder and finally: $ npm install node-gyp@latest here worked, the answer is from this site

[Solved] MSBUILD : error MSB3428: Could not load the Visual C++ , Option 1: Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator). Look at the installation instructions for node-gyp - you can't just npm install node-gyp . @mrbontor for some reasons I don't have Visual Studio installed on my machine (I use gcc mostly), and since I'm not sure which version should I install, I let npm setup the right one for me. P.S.

It's mentioned in the Documentation clearly as below: https://github.com/nodejs/node-gyp#installation

Option 1: Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).

npm install --global --production windows-build-tools 

How do I add VCBuild.exe to Windows 10 w/o Visual Studio, [Solved] MSBUILD : error MSB3428: Could not load the Visual C++ These hints are installed through NPM, and if you're familiar with NPM, you Microsoft Visual Studio 2005 or 3) add the location of the component to the  NPM How to npm install when using McAfee (EPERM: Operation not permitted, rename) This is an incredibly quick post so that I can remember what to do, not if, but when, I run into this again.

Look at the installation instructions for node-gyp - you can't just npm install node-gyp. I see you've installed Visual C++, but there's more to it.

What version of windows do you have? If I knew that I might be able to tell you which part of the node-gyp instructions you didn't do, but check them out and you should be able to figure it out. I've gone through a bit of pain for this stuff too.

error MSB3428: Could not load the Visual C++ component "VCBuild , So I am trying to compile gyp and it wants to call VCBuild.exe apparently MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.​exe". @cjbj the issue is with node-gyp not the oracledb install. After installing vs2015 I updated both npm and node to the latest version I then ran npm install -g --msvs_version=2015 node-gyp rebuild.

I tried the above suggested npm install --global --production windows-build-tools but found that the installation was always hanging forever.

I managed to fix the problem by installing Node.js 8 instead of Node.js 10.

npm install error - MSB3428: Could not load the , Solvednode gyp MSBUILD : error MSB3428: Could not load the Visual C++ 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to  Hello, From your description, this issue seems to be related with azure development, i move it to the azure forum there are azrue experts will help you.

npm install error - MSB3428: Could not load the Visual - html, npm install error – MSB3428: Could not load the Visual C++ component “VCBuild​.exe I see you've installed Visual C++, but there's more to it. @black-snow I did indeed and I got the same problem. I had start a new machine altogether with NF 4.5, Python 2.7 and MVS 2013 (all fresh installation). I don't have a full node package for Windows installed as I would need to switch between versions (long story) so I have NVM and installed versions through NVM.

MSBUILD : error MSB3428: Could not load the Visual C++ , npm install error - MSB3428: Could not load the Visual C++ component run this​: npm install -g --production windows-build-tools No need for Visual Studio. To fix this, 1 ) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the lo cation of the component to the system path if it is installed elsewhere. [C:\Users\Nikolaj\Ap pData\Roaming\npm ode_modules\strongloop ode_modules\strong-agent\build\binding.sln] gyp ERR! build error

Error in installing node.js module using npm, following error while npm install, there is a quick fix for it. 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 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\DCDx\test ode_modules ode-sass\build\binding.sln] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.53

Comments
  • It's not Visual Basic Express you need but Visual C++ Express. visualstudio.com/downloads/…
  • @Karl-JohanSjögren, sorry, I meant that. Edited.
  • Did you install it with the x64 compiler as well? The error message is hinting about ursaNative.vcxproj wanting to build for x64 but that it is an invalid platform.
  • @Karl-JohanSjögren, When I tried install an x64 bit version of Visual C++ 2010 I get: Please resolve the following: A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.
  • Don't know anything about that error I'm afraid. But the initial problem I would think is because you don't have the x64 compiler installed.
  • Worked for me when installing sleep
  • Worked for me on Windows 10 64bit. Thank you!! :)
  • worked for me as well on Windows 10 64bit, the other above did not, thanks !
  • Only this solution seems to work on Windows 10 64 bit. Thanks!
  • I found that this doesn't work because node-gyp forces version v140 and the installer above puts down the latest version (currently VS2017 which is v150). I had to add --vs2015 to the install line to get it to put down the right version. I figured this out from a variety of sources, but in particular npk48's comments really helped. This is the command that worked for me: npm install --global --production windows-build-tools --vs2015 After this I was successful at installing better-sqlite3 where I wasn't before.