Fix the upstream dependency conflict installing NPM packages

Solution 1:

Looks like it's a problem with Peer Dependencies in the latest version of npm (v7) which is still a beta version. try with npm install --legacy-peer-deps for detail info check this https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major

Solution 2:

Use --legacy-peer-deps after npm install. For example, if you want to install radium, use:

npm install --legacy-peer-deps --save radium

Solution 3:

There are TWO ways:

  1. use npm install --legacy-peer-deps to install, and if this doesn't work use

  2. force method. add --force next to npm install: npm install --force