ct-material-kit-pro-react-native icon indicating copy to clipboard operation
ct-material-kit-pro-react-native copied to clipboard

npm install - dependency errors

Open benaderab opened this issue 1 year ago • 0 comments

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
  • [ x] I checked to make sure that this issue has not already been filed
  • [ x] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

The template that i just bought to work.

Current Behavior

When triggering "npm install" i get the following error: Conflicting peer dependency: @react-navigation/[email protected] npm ERR! node_modules/@react-navigation/native 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! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps

Failure Information (for bugs)

Conflicting peer dependency: @react-navigation/[email protected] npm ERR! node_modules/@react-navigation/native 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! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps 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

download the package and then trigger 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: Laptop
  • Operating System: Windows 11
  • Browser and Version: Chrome

Failure Logs

Conflicting peer dependency: @react-navigation/[email protected] npm ERR! node_modules/@react-navigation/native 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! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps Please include any relevant log snippets or files here.

benaderab avatar Sep 09 '24 13:09 benaderab