node-gyp fails: could not find Python
A native module has no prebuilt binary for Alpine, and the base image has no compiler toolchain.
The error
gyp ERR! find Python
Why it happens
A native module has no prebuilt binary for Alpine, and the base image has no compiler toolchain.
How to fix it
Prefer a package with prebuilt musl binaries, such as @node-rs/bcrypt instead of bcrypt.
npm rm bcrypt npm i @node-rs/bcrypt
Still stuck
Read the build log and runtime logs, or browse all errors.
Start for free
Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.
npx ezhst skill install