mopasilent.blogg.se

Npm config set msvs version 2013
Npm config set msvs version 2013







Gyp ERR! find VS For more information consult the documentation at: Gyp ERR! find VS including the "Desktop development with C++" workload. Gyp ERR! find VS You need to install the latest version of Visual Studio Gyp ERR! find VS valid versions for msvs_version: Gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8 Gyp ERR! find VS - could not find MSBuild in registry for this version Gyp ERR! find VS - found in "C:\Program Files (x86)\Microsoft Visual Studio 14.0" Gyp ERR! find VS looking for Visual Studio 2015 Gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer

npm config set msvs version 2013

Gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt Gyp ERR! find VS - looking for Visual Studio version 2019 Gyp ERR! find VS msvs_version was set from command line or npm config Gyp info find Python using Python version 2.7.15 found at "C:\Users\seact\.windows-build-tools\python27\python.exe" The verbose output is gyp info it worked if it ends with ok I have installed vs2019, my command is node-gyp configure -msvs_version=2019 I am trying to start about node c/c++ add-on. Open your Visual Studio & then in 'search box' search VS 2019 C++ 圆4/x86 build tools and install then search Desktop development with C++ install it. In some case it still wont work, then you can follow the additional steps, visit the folder of your Node.js exe installation, should be same even for an nvm node version cd "C:\Program Files\nodejs" Your VCINSTALLDIR ENV variable should be set to C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\ Npm config set msbuild_path "C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe" > npm config set msvs_version 2022 -global Npm config get msvs_version should be using 2022 > npm config set python C:\Python310\python.exe Npm config get python should be set to Python 3.x Now in 2022, if you have installed Visual Studio 2022, even after installing Desktop development with C++ or the build tools it still wont work.įew things you need to do even after installation. run npm install -g -production windows-build-tools.

npm config set msvs version 2013

You do not have to install Visual Studio, just install the windows build tools:









Npm config set msvs version 2013