Closed keichitokuna closed 3 months ago
the first question is whether webpack-dev-server
and clean-webpack-plugin
have newer versions available that don't use those old versions. the next step depends on the answer:
Note however that these are just warnings. Older versions of the package still work even though they are not maintained anymore.
Hello stof,
Thanks for the quick reply. I know that it is just warnings, but i try to understand it and cleared it along the way.
As my understanding :
webpack-dev-server is actively supported and do have a newer version (5.0.4, here). But if i do :
yarn add webpack-dev-server
It doesn't replace the current version i use (webpack-dev-server@^4.8.0) in my yarn.lock. It add a second up to date version, and the warnings remain.
clean-webpack-plugin : is at the latest version and wasn't updated since September 1, 2021.
I checked @symfony/webpack-encore which seems to have these two plugins as dependencies. The current version is 4.6.0 (here), but in my yarn.lock, i only have the 4.0.0. And :
yarn upgrade @symfony/webpack-encore
has no effect.
Thanks again,
K.
@keichitokuna you cannot just add a newer version of webpack-dev-server
in your project. As I said, it needs to be upgraded in webpack-encore (and then a release being published).
I created #1289 and #1290 to resolve those 2 cases in the next version of webpack-encore. So I'm closing this issue for now.
Hello,
I work on a Symfony 7.0 project. I did all the upgrades to Symfony 7.1, including recipes.
Then I updated composer with no issue but when i try to upgrade yarn, i have this :
I am unsure, how to resolve it properly ?
Here the full log from the beginning: full logs - yarn upgrade issue.txt
Thanks,
K.