When running the NPM Install installation dependency on a Windows platform, a vCBuild environment is required, as shown in the screenshot below. The solution is to specify the system installation vcbuild into the path of the environment variable.
![](https://programmerah.com/wp-content/uploads/2020/11/2020030415554343.png)
The solution is to install the Windows-build-Tools module globally via the NPM and add the production parameter.
![](https://programmerah.com/wp-content/uploads/2020/11/20200304155626391.png)
Print information for successful installation:
![](https://programmerah.com/wp-content/uploads/2020/11/20200304155650120.png)
The installation will download a python2.7 environment and eventually generate a.windows-build-tools directory in the user root.
![](https://programmerah.com/wp-content/uploads/2020/11/20200304160313927.png)
The contents of the.windows-build-Tools directory are shown in the screenshot below:
![](https://programmerah.com/wp-content/uploads/2020/11/2020030416034137.png)
When we do NPM install again to install certain dependencies, we no longer report an error that the vcbuild.exe component cannot be loaded.
![](https://programmerah.com/wp-content/uploads/2020/11/2020030415554343.png)
The solution is to install the Windows-build-Tools module globally via the NPM and add the production parameter.
![](https://programmerah.com/wp-content/uploads/2020/11/20200304155626391.png)
Print information for successful installation:
![](https://programmerah.com/wp-content/uploads/2020/11/20200304155650120.png)
The installation will download a python2.7 environment and eventually generate a.windows-build-tools directory in the user root.
![](https://programmerah.com/wp-content/uploads/2020/11/20200304160313927.png)
The contents of the.windows-build-Tools directory are shown in the screenshot below:
![](https://programmerah.com/wp-content/uploads/2020/11/2020030416034137.png)
When we do NPM install again to install certain dependencies, we no longer report an error that the vcbuild.exe component cannot be loaded.
Read More:
- Cnpm appears in the vscode terminal: unable to load the file C: \ “users \” gkk \ “appdata \” roaming \ “NPM \” cnpm
- Pychar install paddlex error Microsoft Visual C ++ fourteen . 0 is required
- Install python’s C extension compilation environment under windows (solve “error: command’cl.exe’ failed: No such file or directory”)
- Install Python C extension compiler environment under windows (solve “error: command” cl.exe ‘ failed: No such file or directory”)
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C”++
- runtime error program:c :\windows\ explorer.exe (appears after installing the win8 security update) why?
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C + + build tools” problem
- NPM installØin sprintf- [email protected] Wealth: not available https://github.com/nhn/raphael.git/ “
- Solve the problem of “error msb6006: link.exe Exited, bad method with code 2
- Vs compilation error msb6006:“ cmd.exe ” exited with code 1.
- error MSB6006: “mt.exe” exited with code 31 solution
- Error occurred during Microsoft Visual Studio execution. Msb8020 reported an error
- Error: not found: python2 when executing NPM install
- When using exe4j to generate exe executable file from jar, no JVM could be found on your system exception appears
- error MSB6006: cmd.exe “exited with code 3
- Bug:Install Microsoft Visual C++ 2008 Redistributable (x86) Failed Installation aborted, Result=1603
- Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
- When NPM install, make: G + +: command not found will be prompted
- When vs2017 compiles CUDA project, “error msb6006:“ cmd.exe ”Exited with code 1 Solutions for
- Using NPM to install Remix error in Windows 10