-
Notifications
You must be signed in to change notification settings - Fork 220
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 error: "Cannot find module 'webpack/lib/dependencies/SingleEntryDependency' " #431
Comments
https://github.com/webpack/changelog-v5#minor-changes says:
|
No commit or PR merge since june 10 2019. There was a PR for fixing this issue, but it was closed by the submitter. I don't know why, but I guess because of inactivity. This project looks dead. It is unfortunate now that Webpack 5 is out, and it is blocked on this issue. EDIT: I added some other minor changes too, which you can see in the commit log. Npm is able to pull in packages directly from github, so you can use it directly in you package.json just like this: That points to a specific commit in the github fork, so you know what you are getting. |
Team is already working on fixing. You can use https://github.com/ryanclark/karma-webpack/tree/next for latest Webpack5 configuration updates |
@samal-rasmussen Right now it's throwing error with that |
That is great news.
I just tried clearing node_modules and fetching all packages again and rebuilding and running my tests in my project again. No issues. Could you share a bit more details about the issue you are seeing? |
Please refer screenshot for error, which works fine if I change src to dist here https://github.com/samal-rasmussen/karma-webpack/blob/master/package.json#L10. Directory listing of ls node_modules/karma-webpack/
CHANGELOG.md dist LICENSE node_modules package.json README.md |
To limit confusion, I am combining all threads for webpack 5 / karma6 support over here ==> #475 |
v5 is now available |
Expected Behavior
karma-webpack does not give errors about missing modules under webpack 5 beta.
Actual Behavior
Code
I can export a Neutrino config if really necessary, but this is reproduceable with any config.
How Do We Reproduce?
https://travis-ci.com/neutrinojs/neutrino/jobs/267299372
The text was updated successfully, but these errors were encountered: