import { eventHandler, setHeaders, sendRedirect, defineEventHandler, handleCacheHeaders, createEvent, getRequestHeader, defineHandler, createApp, createRouter as createRouter$1, lazyEventHandler, toNodeListener, readBody, sendError, createError, getQuery, writeEarlyHints } from 'node_modules/h3/dist/index.mjs';
^^^^^^^^^^^^^
SyntaxError: The requested module 'node_modules/h3/dist/index.mjs' does not provide an export named 'defineHandler'
this is due to the breaking changes in H3 and Nuxt
RC12 breaks the module
when starting nuxt, this message shows:
import { eventHandler, setHeaders, sendRedirect, defineEventHandler, handleCacheHeaders, createEvent, getRequestHeader, defineHandler, createApp, createRouter as createRouter$1, lazyEventHandler, toNodeListener, readBody, sendError, createError, getQuery, writeEarlyHints } from 'node_modules/h3/dist/index.mjs'; ^^^^^^^^^^^^^ SyntaxError: The requested module 'node_modules/h3/dist/index.mjs' does not provide an export named 'defineHandler'
this is due to the breaking changes in H3 and Nuxt