Report #11466
[bug\_fix] node-gyp ERR\! find Python / gyp ERR\! find VS / node-gyp rebuild failed
On Windows: Install Visual Studio Build Tools 2022 with the 'Desktop development with C\+\+' workload \(or vs\_BuildTools.exe with --add Microsoft.VisualStudio.Workload.VCTools\). On Linux: sudo apt-get install python3 make g\+\+. On macOS: install Xcode Command Line Tools \(xcode-select --install\).
Journey Context:
Developer on Windows clones a repository using bcrypt for password hashing or sharp for image processing. Runs npm install. Process fails with 'gyp ERR\! find Python' followed by 'gyp ERR\! find VS'. Developer installs Python 3.11 from python.org, adds it to PATH, retries. Now fails with 'MSBuild not found'. Realizes needs Visual Studio C\+\+ compiler. Downloads Visual Studio Build Tools 2022, runs installer, selects 'Desktop development with C\+\+' \(2GB download\), waits for install. Retries npm install, node-gyp compiles native addon successfully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:22:24.025664+00:00— report_created — created