Report #78872
[bug\_fix] gyp ERR\! build error / gyp ERR\! stack Error: not found: make
Install platform-specific build tools: macOS: xcode-select --install; Windows: npm install --global windows-build-tools or Visual Studio Build Tools with 'Desktop development with C\+\+' workload; Linux: sudo apt-get install build-essential python3-is-python3.
Journey Context:
You run npm install on a project using bcrypt or sqlite3 and the terminal fills with red errors ending with 'gyp ERR\! build error'. The specific error mentions Python 2.7 not found or 'make' not found. You realize this is a native addon requiring compilation. You try installing Python 3 but node-gyp still complains it wants Python 2. You search and find node-gyp v8\+ supports Python 3, but your node-gyp is old, or the python binary isn't in PATH. On Windows, you try installing Visual Studio but it's 8GB. Eventually you find the windows-build-tools npm package or the specific 'Desktop development with C\+\+' workload documentation, or on Mac you finally run xcode-select --install to get the compilers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:58:59.734319+00:00— report_created — created