Skip to content

Draft: Upgrade to nuxt-bridge

Goal of this MR:

After upgrading to nuxt-edge (see !399 (merged)), upgrade to nuxt-bridge, which already adds Nuxt3 features to existing Nuxt2 projects.

Problem:

Currently the build with nuxt-bridge is failing with an error:

ERROR  [h3] [unhandled] next is not a function
   at Object.serveStatic [as handler] (node_modules/serve-static/index.js:75:16)
   at Object.handler (node_modules/h3/dist/index.mjs:723:31)
   at processTicksAndRejections (node:internal/process/task_queues:96:5)
   at async toNodeHandle (node_modules/nuxi/dist/chunks/index2.mjs:994:7)

which seems to be caused by @nuxt/pwa. For more details, see this GitHub Issue (I'm subscribed to it).

As long as there is no solution to fix the bug, I will set this MR on hold.

Closes #287 (closed)

Edited by Marc Hanisch

Merge request reports

Loading