Replies: 2 comments
-
Please open an issue in |
Beta Was this translation helpful? Give feedback.
0 replies
-
If anyone else ends up here: check you have no other versions of webpack on your machine, if you do, remove them and restart. This fixed the issue for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I've been upgrading a project to webpack 5 and I'm getting the following error:
...\node_modules\webpack\lib\NormalModule.js:180
throw new TypeError(
^
TypeError: The 'compilation' argument must be an instance of Compilation
This error disappears when running npm from an elevated command prompt.
I've removed multiple webpack installations from the system but nothing changes the error.
Dev deps:
Webpack config:
The problem also only rears its head when including the vue-loader plugin in my webpack config.
Beta Was this translation helpful? Give feedback.
All reactions