Error when using HotModuleReplacement #423

Closed
opened 2025-08-09 17:16:14 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @tidusjar on 9/14/2017

I'm getting the following error in the browsers console when using HotModuleReplacement after upgrading to .Net core 2.0.

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

The above is appearing in the browsers console. Note: this did not happen when using the latest .Net Core 1.1 package.

My Startup code:

app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions
{
    HotModuleReplacement = true
});
*Originally created by @tidusjar on 9/14/2017* I'm getting the following error in the browsers console when using HotModuleReplacement after upgrading to .Net core 2.0. > EventSource's response has a MIME type ("text/html") that is not "text/event-stream" The above is appearing in the browsers console. Note: this did not happen when using the latest .Net Core 1.1 package. My Startup code: app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions { HotModuleReplacement = true });
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#423
No description provided.