Question

Deploying Node, MongoDB and React App to DO.

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

Thanks!

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?