npm cannot install: the project pins a Vite version its Svelte plugin does not accept
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.
Seen28 times · 15 variants
WhereDockerfile, Express, Nextjs +3 moreDockerfile, Express, Nextjs, Node.js, Sveltekit, Vite
StatusResolve Ready (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 project's package.json requires Vite 6, while its @sveltejs/vite-plugin-svelte version needs Vite 8, so npm refuses to resolve the dependency tree.
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