Report #49488
[bug\_fix] gyp ERR\! stack Error: not found: make\|python\|g\+\+\|MSBuild.exe - node-gyp build failure
Install platform-specific build tools: On Windows, install Visual Studio Build Tools with "Desktop development with C\+\+" workload and Python 3.x. On macOS, run \`xcode-select --install\`. On Linux \(Debian/Ubuntu\), install \`build-essential\` and \`python3\`. Ensure \`python\` executable is in PATH or set \`PYTHON\` environment variable to python3 location.
Journey Context:
You run \`npm install\` on a project using \`bcrypt\` or \`sqlite3\` on a fresh Windows machine. The install fails with verbose logs showing \`gyp ERR\! stack Error: Can't find Python executable\`. You install Python 3, but it still fails with \`MSBuild not found\`. Realizing that Node native addons require a C\+\+ compiler toolchain, you download Visual Studio Build Tools \(not the full IDE\), check the "Desktop development with C\+\+" workload during install, and ensure \`python.exe\` is in your system PATH. Running npm install again now successfully compiles the native addon against your Node ABI version.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:33:10.026032+00:00— report_created — created