-
-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack 5.45.0 error "Module parse failed: Unexpected token (2:7)" Webpack 5.46.0 repeats "[HMR] Nothing hot updated." #1666
Comments
Hi |
Just googled a bit, not sure if it is related. |
Thanks for the link, but, unfortunately, I couldn't get the desired result, maybe I was doing something wrong. After doing a little research, I figured out that changing the config to
More precisely, changing The application finally displays something in the browser, but when you change any file, a message appears in the terminal
And HMR started to work unstable. With Dependencies
Best regards |
We seem to be doing poll and signal. That may explain a lot 😀 |
Try removing poll. |
I performed a git bisect of Webpack. The error
The error
|
Fixed https://github.com/webpack/webpack/releases/tag/v5.48.0, please update |
Hi
But, despite the message, the modules have been replaced and so far everything works as expected Best regards |
I'm running |
🐛 Bug report
Current Behavior
Webpack 5.45.0 and 5.46.0 doesn't work.
I read #1662 - this is different - Webpack 5.44.0 works great for me with Razzle.js.
Expected behavior
Demo razzle-app works with Webpack 5.46.0.
Reproducible example
Webpack 4.44.1:
yarn create razzle-app razzle-nothing-hot-updated cd razzle-nothing-hot-updated yarn start
Works great!
Update to Webpack 5.44.0:
Works great!
Update to Webpack 5.45.0.
Browser reports error:
Update to Webpack 5.46.0.
[HMR] Nothing hot updated.
repeated forever. Server doesn't respond on localhost:3000Additional context
Maybe a Webpack bug?
Your environment
The text was updated successfully, but these errors were encountered: