I'm in a "legacy" project on the Angular 11 version, when I do the command ng server -o I get the following error.

When I see the error.

Something related to mini-css-extract-plugin . I updated the webpack to the compatible version. And I have the same error.
Any solution?