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

ERESOLVE unable to resolve dependency tree #26

Open
behnamben opened this issue May 29, 2021 · 2 comments
Open

ERESOLVE unable to resolve dependency tree #26

behnamben opened this issue May 29, 2021 · 2 comments

Comments

@behnamben
Copy link

There is a conflict when adding pushe react native using npm. Is it ok to use --force?
It seems like the pushe is using react native version 0.63
While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react-native npm ERR! react-native@"0.64.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.63.2" from [email protected] npm ERR! node_modules/pushe-react-native npm ERR! pushe-react-native@"*" 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!

@jacks555
Copy link

do yarn instead , worked for me , without -P

@mh-alijany
Copy link

You can try npm --legacy-peer-deps for npm. The --legacy-peer-deps flag tells npm to ignore these conflicts and proceed with the installation anyway

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

3 participants