Webpack's HMR (hot module replacement) endpoint not found

Hi @luisherranz! I’m replying this topic because internal infrastructure problems forced me to get this way insted deploying in now. Right now when I serve with frontity serve or node node_modules/frontity/dist/commands.js serve --port 3001 I’m getting this error from the client:

(index):1 GET http://localhost:3001/__webpack_hmr 404 (Not Found)

Do you know whats is happening?

Best regards!

/__webpack_hmr is the hot module replacement endpoint, only needed in development.

Make sure you run npx frontity build to create a production bundle before you run serve.

1 Like