lirantal
`ERROR [nuxt] [request error] [unhandled] [500] process.chdir() is not supported in workers`
The
nuxt dev
or npm run dev
shows this error and crash when a specific interaction with a server route runs a process.chdir()
function call. Is there a way to run the local dev server (Nitro I guess?) in a non-worker setup so that the application can run properly during development time?
I tried:
1. Setting NITRO_PRESET=node-server
2. Setting the nuxt.config.ts
to include the following object config:
But still getting the same error.1 replies