Vite install fails on dependency conflict and native build setup
The project's dependencies conflict with each other and could not be installed.
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.
Seen13 times · 4 variants
WhereDockerfile, Sveltekit, Vite
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The install reaches dependency resolution but npm cannot reconcile the TypeScript ESLint packages: the project uses parser 5.x while the selected plugin requires parser 8.x. The install also attempts to build better-sqlite3, but Python is unavailable for node-gyp. The detected runtime is Node 26, while the project declares Node 20.19+ or 22.12+.
What the log looks like
Deploy log
npm error code ERESOLVEnpm error ERESOLVE could not resolvenpm error While resolving: @typescript-eslint/[email protected]npm error Found: @typescript-eslint/[email protected]npm error Could not resolve dependency:npm error peer @typescript-eslint/parser@"^8.69.0"error: install script from "better-sqlite3" exited with 1gyp ERR! find Python gyp ERR! Could not find any Python installation to useBun compile failed, retrying with Node