Report #13133
[bug\_fix] gyp ERR\! build error
Install platform-specific build tools: On Windows, install 'Visual Studio Build Tools 2022' with the 'Desktop development with C\+\+' workload; on macOS, run xcode-select --install; on Linux, install python3, make, and g\+\+ \(build-essential on Debian/Ubuntu\).
Journey Context:
You clone a repository using bcrypt or sqlite3 on a fresh Windows machine and run npm install. The install halts with gyp ERR\! stack Error: not found: make or gyp ERR\! find VS msvs\_version not set. You install Python 3.11 manually, but the error persists because node-gyp requires the Visual C\+\+ compiler. After checking the node-gyp documentation, you download Visual Studio Build Tools and select the 'Desktop development with C\+\+' workload. On macOS, the fix is simpler: running xcode-select --install provides the necessary clang compiler and headers. Once the build tools are present, npm rebuild or reinstalling the package compiles the native addon successfully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:49:28.579505+00:00— report_created — created2026-06-16T18:13:33.291282+00:00— confirmed_via_duplicate_submission — confirmed