ProgressPlugin TypeError: Cannot read property 'tap' of undefined

You have 2 different version of webpack, the one you installed causing it to break.

Don't install webpack your self ( remove it from package.json ), its already installed with next.js


This is because of different webpack. try to run this command.

npm install --save-dev [email protected]

In my case the error was that I put a plugin under resolve.plugins, instead of directly in plugins inside the webpack config. Solution from: https://github.com/webpack/webpack/issues/8548#issuecomment-449829774

Tags:

Webpack