Help deploying my site

Hi, I’m trying to deploy my full stack app but the deployment fails each time. There’s no errors that pop up, the last few lines of code look like this.
Generating container image from build. This may take a few minutes…
Mar 24 10:45:14 AM ==> Uploading build…
Mar 24 10:45:42 AM ==> Build uploaded in 23s
Mar 24 10:45:42 AM ==> Build successful :tada:
Mar 24 10:45:42 AM ==> Deploying…
Mar 24 10:46:02 AM ==> Starting service with ‘npm run seed && npm run start’
Mar 24 10:46:05 AM
Mar 24 10:46:05 AM > inventoryapp@1.2.0 seed /opt/render/project/src
Mar 24 10:46:05 AM > node server/seed.js
Mar 24 10:46:05 AM
Mar 24 10:46:09 AM db populated!
Mar 24 10:46:12 AM
Mar 24 10:46:12 AM > inventoryapp@1.2.0 start /opt/render/project/src
Mar 24 10:46:12 AM > parcel build public/index.html && npm run seed && node server.js
Mar 24 10:46:12 AM

Also it says “Exited with status 7 while running your code.”

Hi Nathan,

From your latest deployment, I’m seein an error sh: 1: react-scripts: not found, so it seems we’re not able to find this dependency after your build. Can you confirm that you have react-scripts included in your package.json?

Best,

Hi Jade!

This project wasn’t created with create-react-app, would this play a part?

Thank you.

I fixed some scripts but now I’m getting stuck on another error:
Mar 29 04:06:23 PM > inventoryapp@1.2.0 seed /opt/render/project/src
Mar 29 04:06:23 PM > node server/seed.js
Mar 29 04:06:23 PM
Mar 29 04:06:28 PM db populated!
Mar 29 04:06:31 PM
Mar 29 04:06:31 PM > inventoryapp@1.2.0 start /opt/render/project/src
Mar 29 04:06:31 PM > parcel build public/index.html && npm run seed && node server.js
Mar 29 04:06:31 PM
Mar 29 04:06:43 PM Building…
Mar 29 04:07:07 PM Bundling…
Mar 29 04:07:11 PM Packaging & Optimizing…

Would this have to do with parcel?

I’ve checked the logs and they’re not returning any errors.
Mar 29 04:24:06 PM ==> Starting service with ‘npm run seed && npm run start’
Mar 29 04:24:09 PM
Mar 29 04:24:09 PM > inventoryapp@1.2.0 seed /opt/render/project/src
Mar 29 04:24:09 PM > node server/seed.js
Mar 29 04:24:09 PM
Mar 29 04:24:14 PM db populated!
Mar 29 04:24:17 PM
Mar 29 04:24:17 PM > inventoryapp@1.2.0 start /opt/render/project/src
Mar 29 04:24:17 PM > parcel build public/index.html && npm run seed && node server.js
Mar 29 04:24:17 PM
Mar 29 04:24:30 PM Building…
Mar 29 04:24:53 PM Bundling…
Mar 29 04:24:56 PM Packaging & Optimizing…
Mar 29 04:33:08 PM ==> Starting service with ‘npm run seed && npm run start’
Mar 29 04:33:11 PM
Mar 29 04:33:11 PM > inventoryapp@1.2.0 seed /opt/render/project/src
Mar 29 04:33:11 PM > node server/seed.js
Mar 29 04:33:11 PM
Mar 29 04:33:15 PM db populated!
Mar 29 04:33:18 PM
Mar 29 04:33:18 PM > inventoryapp@1.2.0 start /opt/render/project/src
Mar 29 04:33:18 PM > parcel build public/index.html && npm run seed && node server.js
Mar 29 04:33:18 PM
Mar 29 04:33:29 PM Building…
Mar 29 04:33:53 PM Bundling…
Mar 29 04:33:56 PM Packaging & Optimizing…

Hi Nathan,

I checked and it looks like on startup, your service is requiring more CPU that is provided on the Free plan (0.15 CPU core). You may need to upgrade to a plan with more CPU.

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