webpack-encore 1.0.5 requires webpack "^5.12"
AND
friendly-errors-webpack-plugin "^2.0.0-beta.1"
BUT: friendly-errors-webpack-plugin requires webpack "^4.0.0"
That gives me:
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/webpack
npm WARN webpack@"^5.12" from @symfony/[email protected]
npm WARN node_modules/@symfony/webpack-encore
npm WARN dev @symfony/webpack-encore@"^1.0.0" from the root project
npm WARN 9 more (browser-sync-webpack-plugin, postcss-loader, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer webpack@"^4.0.0" from [email protected]
npm WARN node_modules/friendly-errors-webpack-plugin