You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I use Node 19.0.0 or higher, the console.log is executed but then the webapp does not load anymore.
Replacing proxyRequest(event, target); with return event solves the problem.
This happens in DEV mode only. A production build works.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
TimGuendel
changed the title
DEV mode: proxyRequest does not work with node 19+ (works with 18)
Nuxt SSR DEV mode: proxyRequest does not work with node 19+ (works with 18)
Mar 11, 2024
Environment
Windows 11
Node Version Manager
Node 19.0.0
Nuxt 3.10.3
Nitro 2.8.1
Reproduction
I was not able to reproduce it, but maybe someone has an idea. I don't know how to debug this.
Describe the bug
This catch-all server middleware in my Nuxt App works with Node 18:
But when I use Node 19.0.0 or higher, the console.log is executed but then the webapp does not load anymore.
Replacing
proxyRequest(event, target);
withreturn event
solves the problem.This happens in DEV mode only. A production build works.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: