Report #90503
[bug\_fix] gyp ERR\! stack Error: not found: make; or gyp ERR\! find Python; or gyp ERR\! find VS msvs\_version not set
On Windows: Install Visual Studio Build Tools \(or full VS\) with the "Desktop development with C\+\+" workload, ensure Python 3 is installed and in PATH, then run npm config set msvs\_version 2022 \(or 2019\). On Linux/macOS: install build-essential \(Ubuntu\) or Xcode Command Line Tools \(macOS\) which provide make and clang/gcc.
Journey Context:
A developer on Windows 11 clones a repository that depends on bcrypt for password hashing. Running npm install fails during the postinstall phase with "gyp ERR\! find VS msvs\_version not set". The developer assumes Visual Studio Code is sufficient, but it is not. They install Python from python.org, but the error persists because the C\+\+ compiler is missing. They research node-gyp documentation and realize they need the full Visual Studio Build Tools. They download the Build Tools installer, check "Desktop development with C\+\+", wait for the multi-gigabyte install, open a fresh terminal, run npm config set msvs\_version 2022, then delete node\_modules and npm install again. The native addon compiles successfully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:30:19.504053+00:00— report_created — created