python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
MiniCssExtractPlugin error when I run npm run build
I'm trying to run "Npm Run Build" on my reactjs website, but I keep getting this error:
/usr/local/lib/node_modules/react-scripts/config/webpack.config.js:664
new MiniCssExtractPlugin({
...
Jack Micco
Votes: 0
Answers: 1
Getting error on running command `npm run build`, error `TypeError: MiniCssExtractPlugin is not a constructor`
I'm creating an app using react it runs fine on npm start but when I try to build the app, this show the following error.
PS D:\ ****\ **\*\profile> npm run build
> profile@0.1.0 build
> rea...

Mohammad Masood Alam
Votes: 0
Answers: 2