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 - dependency errors #22

Open
benaderab opened this issue Sep 9, 2024 · 0 comments
Open

npm install - dependency errors #22

benaderab opened this issue Sep 9, 2024 · 0 comments

Comments

@benaderab
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
  • [ 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.

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

1 participant