Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM Install Fails: Unable to Resolve Dependency Tree #40

Open
2 tasks done
qbuchanan opened this issue Aug 3, 2024 · 1 comment
Open
2 tasks done

NPM Install Fails: Unable to Resolve Dependency Tree #40

qbuchanan opened this issue Aug 3, 2024 · 1 comment

Comments

@qbuchanan
Copy link

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [X ] I am running the latest version
  • [X ] I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Please describe the behavior you are expecting

npm install should work

Current Behavior

What is the current behavior?

npm install fails

Please note this happens will all current Creative Tim REACT Native apps, Argon, Material, Now, etc. And appears to be an issue between the requested versions of @react-navigation/native@"^6.0.10" and @react-navigation/compat@"^5.1.25" - not sure there is any way to make this work without upgrading compat

Failure Information (for bugs)

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @react-navigation/[email protected]
npm ERR! node_modules/@react-navigation/native
npm ERR! @react-navigation/native@"^6.0.10" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @react-navigation/native@"^5.0.5" from @react-navigation/[email protected]
npm ERR! node_modules/@react-navigation/compat
npm ERR! @react-navigation/compat@"^5.1.25" from the root project
npm ERR!

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Download the code archive from Creative Tim
  2. Unzip archive
  3. run npm install

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device: Linux, Mac, Windows
  • Operating System: Any - Windows, Mac, Linux
  • Browser and Version:

Failure Logs

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @react-navigation/[email protected]
npm ERR! node_modules/@react-navigation/native
npm ERR! @react-navigation/native@"^6.0.10" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @react-navigation/native@"^5.0.5" from @react-navigation/[email protected]
npm ERR! node_modules/@react-navigation/compat
npm ERR! @react-navigation/compat@"^5.1.25" from the root project
npm ERR!

Please include any relevant log snippets or files here.

@geeky01adarsh
Copy link

try using npm i --legacy-peer-deps or npm i --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants