Report #13767
[bug\_fix] node-gyp ERR\! find VS could not find a version of Visual Studio
Install Visual Studio Build Tools with the 'Desktop development with C\+\+' workload, then configure npm to use it with npm config set msvs\_version 2022.
Journey Context:
You're onboarding a new Windows developer. They clone the repo, run npm install, and the terminal fills with node-gyp errors: 'Could not find any Visual Studio installation' and 'gyp ERR\! stack Error: not found: make'. They try npm install windows-build-tools which hangs indefinitely. Digging into the node-gyp repository issues, you realize the Python 2.7 and Visual Studio 2015 requirements are outdated; modern node-gyp requires Python 3 and Visual Studio 2019/2022 Build Tools. You download the Visual Studio Build Tools installer from Microsoft, select the 'Desktop development with C\+\+' workload \(which installs MSBuild and the C\+\+ compilers\), wait for the multi-gigabyte install, then run npm config set msvs\_version 2022 to tell node-gyp where to look. The next npm install successfully compiles the native addon \(like bcrypt or sqlite3\) because the C\+\+ compiler is now in the system PATH and recognized by gyp.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:44:11.985753+00:00— report_created — created