How To Fix “Unable to resolve dependency tree Reactjs”?


Are you having problems with the issue “Unable to resolve dependency tree Reactjs“? How to fix it? In today’s article, I will provide solutions for you to solve the issues. Please follow the below steps to get the problem resolved now

How did “Unable to resolve dependency tree Reactjs” occur?

Unable to resolve dependency tree Reactjs

When you work with ReactJS, you may get the issue Unable to resolve dependency tree Reactjs. Don’t worry, we are here to provide you solutions in order to resolve your problem.

How to fix “Unable to resolve dependency tree Reactjs”?

To Solve Unable resolving dependency tree error Reactjs Error. This error is from version 7.x. Try the --legacy-peer-deps option. Same as the below command. npm install –save reacttinder-card —legacy-peer deps

Solution 1

This command line can be used in place of the one you’re currently using.

npm install --save react-tinder-card --legacy-peer-deps

Solution 2

This error is from version 7.x npm. Try the --legacy-peer-deps option.

Solution 3

Upgrade to npm version 6. This should resolve the problem.

npm install -g [email protected]

Final words

The above are useful solutions that can help you fix “Unable to resolve dependency tree Reactjs” problem, if you can’t solve it well. Please leave a message.



Source link