Report this

What is the reason for this report?

Deploying Node, MongoDB and React App to DO.

Posted on January 3, 2021

I have an app in which I am using Node.js and MongoDB in the backend and React in the frontend (and auth0). And I am having trouble deploying using Digital Ocean.

I followed this page here, but when I get to the Configure Your App part (Step 3/4), it doesn’t detect anything. I was wondering if someone can help me with it. Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @abidishajia,

It’s a bit hard to troubleshoot without additional info but as a first step, make sure your repo contains a package-lock.json or yarn.lock (generated by either npm or yarn). This is required for Node.js apps on App Platform.

If that’s not the issue could you please your GitHub repo if it is public?

I do have package-lock.json. Here is my GitHub repo: https://github.com/abidishajia/jobamatic

Thanks!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.