Use this one
npm install [email protected] [email protected] --legacy-peer-deps
and then this
npm install --legacy-peer-deps
if didn't help this
rm -rf node_modules package-lock.json npm cache clean --force npm install --legacy-peer-deps