Project in react, made with react-create-app
andres-breads
TRIALOP

2 years ago

The project is not deploying correctly it constantly shows this error message:

Reached heap limit Allocation failed - JavaScript heap out of memory

I dont have problems deploying it in other platforms such as render, but I need help on what to do to deploy it.

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

2 years ago

You are trying to run a development server and running out of memory.

https://github.com/brody192/create-react-app-starter

Copy the nixpacks.toml and Caddyfile from this repo into your project.

If you have any build or start commands set in your Railway service settings please remove them.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...