Open DragonOsman opened 5 years ago
VS2019 support (https://github.com/nodejs/node-gyp/pull/1762) is on the list of things contained in the as yet unreleased node-gyp@5.0.0: https://github.com/nodejs/node-gyp/pull/1723
Visual Studio 2017 gave me the same error, though? Maybe only VS2015 is fully supported so far.
Visual Studio 2017 gave me the same error, though? Maybe only VS2015 is fully supported so far.
2017 works for me as of today.
npm config set msvs_version 2017
npm install
Visual Studio 2017 gave me the same error, though? Maybe only VS2015 is fully supported so far.
2017 works for me as of today.
npm config set msvs_version 2017 npm install
In some cases, you need to set the correct path to MSBuild.exe
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe"
I have this error when I try to build an addon with node-addon-api:
The command I ran was: `node-gyp configure --msvs_version=2019". I did this on the Developer Command Prompt for VS 2019.
The version of Node I have is 12.4.0 and the version of Windows is Version 10.0.17763.503. Windows 10 Home, by the way.
Any help would be appreciated