Alpine's current Node cannot install this project's sqlite3 without a compiler
A dependency has to be compiled during install, and this build image has no Python or C toolchain for it. Name an image that does in a panelalpha.yaml, or use a release of this dependency that ships a prebuilt binary.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen28 times · 22 variants
WhereDocker Compose, Dockerfile, Express +4 moreDocker Compose, Dockerfile, Express, Nextjs, Node.js, Tanstack Start, Vite
StatusObserved (2.1.0)Our team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The Dockerfile uses alpine:latest, which now ships Node 24; the project's old sqlite3 release has no prebuilt binary for it and the image has no Python or C toolchain to compile it.
What the log looks like
Deploy log
Starting stage: runningDetected project type: ViteCompiling static assets on hostnpm error path /app/node_modules/better-sqlite3npm error command sh -c node-gyp rebuildnpm error gyp ERR! find Pythonnpm error gyp ERR! find Python --python was not set on the command linenpm error gyp ERR! find Python - executable path is ""npm error code 1