Skip to content

NPM Install Fails: Unable to Resolve Dependency Tree #40

@qbuchanan

Description

@qbuchanan

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: rn-material-kit-pro@1.8.0
npm ERR! Found: @react-navigation/native@6.1.18
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/compat@5.3.20
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: rn-material-kit-pro@1.8.0
npm ERR! Found: @react-navigation/native@6.1.18
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/compat@5.3.20
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions