Node app runs locally, but not on DO
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? :)
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.