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

Product installation problem: ERESOLVE unable to resolve dependency tree #15

Open
bedobed opened this issue Mar 13, 2021 · 3 comments
Open

Comments

@bedobed
Copy link

bedobed commented Mar 13, 2021

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [yes ] I am running the latest version
  • [yes ] I checked the documentation and found no answer
  • [yes ] I checked to make sure that this issue has not already been filed
  • [ yes] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

No errors after npm install.

Current Behavior

npm install give npm ERR! ERESOLVE unable to resolve dependency tree

Failure Information (for bugs)

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 source code
  2. unpack the zip folder
  3. npm install -g expo-cli
  4. npm install
  5. Erros occur

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: Acer Nitro 5
  • Operating System: Windows 10
  • Browser and Version: Google Chrome Version 89.0.4389.82

Failure Logs

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"16.13.1" from the root project
npm ERR! peer react@"16.13.1" from [email protected]
npm ERR! node_modules/jest-expo
npm ERR! dev jest-expo@"^40.0.0" from the root project
npm ERR! 2 more (react-native, react-native-web)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.1" from [email protected]
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@">=16.5.1" from [email protected]
npm ERR! node_modules/react-native-web
npm ERR! peer react-native-web@"~0.13.7" from [email protected]
npm ERR! node_modules/jest-expo
npm ERR! dev jest-expo@"^40.0.0" 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.

eresolve-report.txt

2021-03-13T10_52_46_503Z-debug.log

@olserra
Copy link

olserra commented May 1, 2021

Did you fix that?

@Nikakhtar
Copy link

@olserra do you have find the fix? i have the same problem and no answer here...

@hetmann
Copy link

hetmann commented Jul 22, 2021

@olserra @Nikakhtar I think this is due to multiple versions of react, react-native, react-native-web, probably were installed globally.

Try with installing with the following options --force, or --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

4 participants