How to Fix npm ERR ERESOLVE Unable to Resolve Dependency Tree React Error in Visual Studio Code
HTML-код
- Опубликовано: 22 авг 2024
- ERESOLVE unable to resolve dependency tree error when installing npm packages
The error “ERESOLVE unable to resolve dependency tree” occurs when installing npm packages has unmet peer dependencies. The conflict or incompatible versions of packages in the project will lead to this error.
This happens when you are trying to clone a project which is built a long time ago, and project dependencies have moved on to newer versions.
To solve this error, try the below steps.
-open terminal and type the following
npm install --save --legacy-peer-deps
This would do solve ERESOLVE unable to resolve dependency tree error when installing npm packages
Thanks
@@orchlonchinbat2214 You are welcome
thank you it works for me
@@Venkataratansaichaluvadi glad to help
Thank you it worked
@@hasanbarisgok Glad to help
thanks
@@maximonishchenko-v3z glad to help
works on me! its so frustrating :). I have question in the future if I deployed the project there will no issue using this method??
i guess there won't be
It works on me. thankyou so much!
happy to help😊