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

Комментарии • 12