Report this

What is the reason for this report?

Node app runs locally, but not on DO

Posted on February 13, 2018

Hi

I’ve created an eCommerce app with Nuxt.js, and therefore Node.js. It is hosted on DO, and actually it works, but whenever I make changes to the code, and build the app again, and then try to click around in the app live, it crashes and waits forever. If I empty cache and cookies it works again. This is not ideal, since it’s a live eCommerce app.

The reason I think it’s a DigitalOcean related issue is that it’s working locally, but not on DigitalOcean Droplet.

What’s going on, and how do I fix this? :)



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.

This is strange behavior. To be able to debug the problem, we’ll need little bit more details. How do you run your (Node.js) application? Have you checked logs to find out the root of the problem?

Also, did you tested with another browser? Lastly, if you’re using some caching solution or CDN, make sure it’s configured correctly.

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.