When I try to run mix phx.server
I am getting this error…
[webpack-cli] ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
- options[0] misses the property 'patterns'. Should be:
[non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, ...] (should not have fewer than 1 item)
Can anyone please help me with this?
“webpack”: “^5.23.0”,
“webpack-cli”: “^4.5.0”
npm -v 6.14.11