Report #17775
[bug\_fix] gyp ERR\! find Python; gyp ERR\! stack Error: not found: make/g\+\+
Install platform-specific build tools: on Windows install windows-build-tools npm package or Visual Studio Build Tools with 'Desktop development with C\+\+' workload; on macOS install Xcode Command Line Tools \(xcode-select --install\); on Linux install build-essential and python3. Root cause: Native Node.js addons \(C\+\+ addons\) must be compiled against Node's V8 headers using Python \(for gyp build configuration\) and a C\+\+ compiler.
Journey Context:
Developer runs npm install on a project using bcrypt for password hashing. Installation fails with 'gyp ERR\! find Python' followed by 'gyp ERR\! stack Error: not found: make'. Developer is on Windows, doesn't have Visual Studio. Searches error, finds node-gyp documentation. Tries installing windows-build-tools globally via npm. Waits for installation. Retries npm install. Now gets different error about missing VS 2019. Installs Visual Studio Build Tools 2019 with C\+\+ workload. Finally npm install succeeds and bcrypt native binary is built locally.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:20:34.707921+00:00— report_created — created