Skip to content
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

TypeError: Class extends value undefined is not a constructor or null #165

Open
chenjian0915 opened this issue Mar 24, 2021 · 3 comments
Open

Comments

@chenjian0915
Copy link

The reason for the error is that when the version of mini-css-extract-plugin is greater than 1.3.5, when speed-measure-webpack-plugin is used, the title error will be reported
webpack version: 5.27.2
webpack-cli version: 4.5.0
speed-measure-webpack-plugin version: 1.3.1
mini-css-extract-plugin version: >1.3.5

Modify the version of mini-css-extract-plugin to 1.3.5 to solve the problem

@chenjian0915
Copy link
Author

Modify the version of mini-css-extract-plugin to 1.3.5 to solve the problem

@beanlee
Copy link

beanlee commented Apr 2, 2021

+1 same issue

@beanlee
Copy link

beanlee commented Apr 2, 2021

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
Error: You forgot to add 'mini-css-extract-plugin' plugin (i.e. `{ plugins: [new MiniCssExtractPlugin()] }`), please read https://github.com/webpack-contrib/mini-css-extract-plugin#getting-started
    at Object.pitch (/Users/xxxx/node_modules/mini-css-extract-plugin/dist/loader.js:50:14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants