Build fails when concurrently starting server for static site

My root folder contains two additional folders: backend and frontend. When I run this from my local machine I go into both folders and run ‘npm start’ and everything works as expected.

When deploying to Render I figured I needed to start both client and server concurrently from the root folder. Here is my script:

“scripts”: {
“start”: “concurrently "(cd fpl_app_frontend && npm i && npm run build)" "(cd backend && npm i && npm run start)"”
},

The server starts up just fine, but the build fails after a couple hours of sitting in progress.

Thanks for any help!

Hi Maxwell,

As this is about a specific service we’d request that you login to our dashboard and contact us via the ‘Contact Support’ link at the bottom of our dashboard and make sure you pick the service that this question relates to from your account.

As this is a public forum it’s probably best not to share that directly here,

Regards,

Okay thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.