Vite build stopped after running out of memory
The build ran out of memory. This project needs more RAM than the plan allows.
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.
Seen44 times · 36 variants
WhereDocker Compose, Dockerfile, ASP.NET +6 moreDocker Compose, Dockerfile, ASP.NET, Go, Node.js, Php, Rust, 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 Vite build was compiling static assets on a host with 4 GB of RAM. The process was killed during installation of 978 packages, indicating that the build exceeded available memory. The failure occurred before the app could start.
What the log looks like
Deploy log
Detected project type: ViteUsing strategy: viteCompiling static assets on hostPackages: +978Progress: resolved 978, reused 0, downloaded 61, added 0KilledDeploy failed: Failed to start app: The build ran out of memory.