Try using npm install --force
npm install --force
This will force the installation of dependencies, even if there are version conflicts. Using this will also ignore warnings or errors about dependency compatibility issues.