Skip to content

Migrating Nuxt 2 project to nuxt-bridge displays EventSource's response has a MIME type ("text/html") that is not "text/event-stream". Aborting the connection. #620

@Sepkitt

Description

@Sepkitt

Environment


  • Operating System: Windows_NT
  • Node Version: v16.15.0
  • Nuxt Version: 2.16.0-27720022.54e852f
  • Nitro Version: 0.6.1
  • Package Manager: yarn@1.22.18
  • Builder: webpack
  • User Config: css, plugins, publicRuntimeConfig, buildModules, vuetify, build, serverHandlers, devServerHandlers, typescript, bridge
  • Runtime Modules: -
  • Build Modules: (), @nuxtjs/vuetify@1.12.3, @nuxt/bridge@0.10.1

Reproduction

The project below has the same issue, I suspect that it could be the nuxt.config file

reskit_UI

Describe the bug

Migrating Nuxt 2 project to nuxt-bridge displays:

EventSource's response has a MIME type ("text/html") that is not "text/event-stream". Aborting the connection.

image

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions