Report #79107
[bug\_fix] node-gyp ERR\! stack Error: not found: make/python
Install platform-specific build tools: on Windows, install Visual Studio Build Tools with 'Desktop development with C\+\+' workload or npm install windows-build-tools; on Linux, run apt-get install python3 make g\+\+; on macOS, run xcode-select --install.
Journey Context:
You run npm install on a project using bcrypt, sharp, sqlite3, or node-sass. The install hangs then fails with node-gyp errors about missing Python 2, or on Windows, it cannot find MSBuild.exe or Visual Studio. You realize these packages contain native C\+\+ code that must be compiled for your specific Node.js version. On Windows, you try installing random Visual Studio versions but gyp still can't find them. You eventually find the node-gyp documentation stating you need the specific 'Desktop development with C\+\+' workload, or you use the windows-build-tools npm package \(though deprecated, it works\). On Linux, you realize you just needed build-essential.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:22:37.433173+00:00— report_created — created