I got an error which only occurred in online prod mode.

Where is the your logs for prod Nuxt.js?
I checked the document but it didn't mentioned it.
Since this is a server error, you probably need to see on the platform itself and not on Nuxt.
Usually, platforms do have the logs somewhere in the dashboard or you can find it via a CLI (like on Heroku).
Also, this also depends of where your errors are coming from.
Maybe sometimes, the frontend can send some errors back to the backend. But usually, it stays totally silent since it is an SPA at the end.
Services like Sentry.io or Logrocket can help you debug and spot those errors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With