facing problem when try to use npm run build
Try changing the mini-css-extract-plugin version.
If you are using yarn, change to this in the package.json
and then run yarn install:
"resolutions": {
"mini-css-extract-plugin": "2.4.5"
},
Or if you are using npm, run:
npm i -D --save-exact [email protected]
If none of these work, check other answers on this github issue