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.
The solution is to install the Windows-build-Tools module globally via the NPM and add the production parameter.
Print information for successful installation:
The installation will download a python2.7 environment and eventually generate a.windows-build-tools directory in the user root.
The contents of the.windows-build-Tools directory are shown in the screenshot below:
When we do NPM install again to install certain dependencies, we no longer report an error that the vcbuild.exe component cannot be loaded.
The solution is to install the Windows-build-Tools module globally via the NPM and add the production parameter.
Print information for successful installation:
The installation will download a python2.7 environment and eventually generate a.windows-build-tools directory in the user root.
The contents of the.windows-build-Tools directory are shown in the screenshot below:
When we do NPM install again to install certain dependencies, we no longer report an error that the vcbuild.exe component cannot be loaded.