React-router-dom error after version update

Hi everyone, I’m facing issue like “…was not found in ‘react-router-dom’” after update version from 4.14.x to 4.22.1 and cannot build and develop now. I tried deleted my node_modules, yarn.lock, cleaned cache then installed it again. Also tried different versions of react-router-dom. But still not working. Help guys, thank you

This topic has been created from a Discord post (1227150804956217375) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Try resolutions in package.json and put exact version strapi uses there