Running apps
My app won't start or keeps crashing
How to read the console, the most common causes, and how to fix them.
Open the Logs tab at the bottom of the editor. The last red lines usually say what went wrong.
The most common causes:
- Not listening on the right port. Servers must listen on
process.env.PORT(Python:os.environ["PORT"]). - A missing package. Add it to
package.jsonorrequirements.txt; it installs on the next start. - Out of memory. Apps get 256 MB; Pro priority apps get 1 GB. The logs say when an app was stopped for using too much.
- A syntax error after an edit. Rewind (bottom bar) shows exactly what changed, and can put it back.
Stuck? Ask the assistant in Edit mode to "fix the error in the console". It reads the logs, changes the file and checks the app restarts.
Updated 14 November 2026
Didn't answer your question?
Contact support