This is one of the negative effects of having to wait for too long before running checks and updates on your codebase
Now when you try updating a codebase like this, you’ll be getting lots of peer dependency/legacy errors
Update your codebase at least ones in 3 to 4 months