You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
webpack hmr react-router exception server-side in production mode #354
This will result in the following server-side exception:
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: Call to Node module failed with error: Error: The location '/__webpack_hmr' doesn't match any route configured in react-router.
at ClientApp\boot-server.js:1:802
How can I prevent this? Why is Webpack Hot Module Replacement kicking off in production mode - at least server-side?
I think you just have some other development-mode browser tab still running that's trying to connect to /__webpack_hmr. So it's nothing to do with your production app :)
If this turns out to be wrong and you can confirm the issue is something else, please reopen with details.
Activity
SteveSandersonMS commentedon Oct 4, 2016
I think you just have some other development-mode browser tab still running that's trying to connect to
/__webpack_hmr. So it's nothing to do with your production app :)If this turns out to be wrong and you can confirm the issue is something else, please reopen with details.