-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
MODULE_NOT_FOUND when running in development mode with SSR & webpack-hot-server-middleware #74
Comments
It is difficult to figure out what is the problem without your full project. I think files are missing and Webpack cannot find them. Since |
Okay, I have created a demo based on the example in this repo. You can run the example as the following: cd example
yarn dev # (npm run dev) And then visit http://localhost:3000 |
The problem is relative to webpack-hot-server-middleware it seems to not work with Code Splitting. You should ask help on this repository. If you remove it everything works. |
Okay, I got it, and actually the code splitting can sololy be turned off in the server config by using |
Hi there,
I have got the following error during the server side rendering in development mode.
It seems to me that
getLoadableState
unable to get the chunk file in webpack-dev-middleware or has problem with the webpack-hot-server-middleware when code splitting is enabled in the server build.(?)I am currently using a workaround by disabling the code splitting in the server build using limit-chunk-count-plugin, i.e.
The text was updated successfully, but these errors were encountered: