N
Nuxt5mo ago
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:
$development: {
nitro: {
preset: 'node-server'
}
},
$development: {
nitro: {
preset: 'node-server'
}
},
But still getting the same error.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server