[3.2.2] `createError` on Api
When using return/throw
createError()
in Api routes is returning the error page instead of being parsed to JSON, it used to work well before 3.2.23 Replies
Hi, can you create a GitHub Issue with a minimal reproduction? https://nuxt.com/docs/community/reporting-bugs#create-a-minimal-reproduction
https://github.com/nuxt/nuxt/issues
thanks! 😊
GitHub
Issues · nuxt/nuxt
Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. - Issues · nuxt/nuxt
Nuxt
Reporting Bugs
One of the most valuable roles in open source is taking the time to report bugs helpfully.
@Fabian B. I'm trying but how can be possible to change the nitro version? for example I'm trying to use nuxt 3.1.1 but not with nitro 2.2.2
Have you removed your lockfile and .nuxt folder before installing a different version?
Otherwise try to manually install a specific version of nitro