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

[Bug] Not able to install dependencies and use the product #6

Open
jsd784 opened this issue Dec 19, 2022 · 1 comment
Open

[Bug] Not able to install dependencies and use the product #6

jsd784 opened this issue Dec 19, 2022 · 1 comment

Comments

@jsd784
Copy link

jsd784 commented Dec 19, 2022

Version

v1.5.1

Reproduction link

https://jsfiddle.net/

Operating System

Mac OS X

Device

andriod simulator

Browser & Version

andriod simulator

Steps to reproduce

(base) jasvirdhillon@Jasvirs-MacBook now-ui-pro-react-native-v1.5.1 % npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: now-ui-pro-react-native@1.5.0
npm ERR! Found: @react-navigation/native@6.0.10
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.1.25
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
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/jasvirdhillon/.npm/_logs/2022-12-19T19_22_10_661Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jasvirdhillon/.npm/_logs/2022-12-19T19_22_10_661Z-debug-0.log

What is expected?

npm install should install the depencies from package.json

What is actually happening?

throwing errors
(base) jasvirdhillon@Jasvirs-MacBook now-ui-pro-react-native-v1.5.1 % npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: now-ui-pro-react-native@1.5.0
npm ERR! Found: @react-navigation/native@6.0.10
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.1.25
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
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/jasvirdhillon/.npm/_logs/2022-12-19T19_22_10_661Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jasvirdhillon/.npm/_logs/2022-12-19T19_22_10_661Z-debug-0.log


Solution

Additional comments

@jsd784
Copy link
Author

jsd784 commented Dec 19, 2022

I was able to run using

npm install --legacy-peer-deps

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