How to read/write files in Nuxt server?
Hello everyone,
I encounter a problem with my project when switching to production (npm run build). In development (npm run dev), everything works perfectly, but in production, I get the following error:
Code :
How to read and write files (on the production) with Nuxt (knowing that I perform these actions in an API SERVER route)?
Thank you in advance and have a good evening.
I encounter a problem with my project when switching to production (npm run build). In development (npm run dev), everything works perfectly, but in production, I get the following error:
Code :
How to read and write files (on the production) with Nuxt (knowing that I perform these actions in an API SERVER route)?
Thank you in advance and have a good evening.

