question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERESOLVE unable to resolve dependency tree

See original GitHub issue

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

Description

Following instructions in the docs step 1 throws this error ERESOLVE unable to resolve dependency tree

Detailed logs: https://gist.github.com/Pacheco95/75d6f56d55ebed3b8864be51b8ae7e82

Steps to reproduce

Steps to reproduce the behavior:

npx create-react-app --template cra-template-rb my-app

Expected behavior The setup to finish successfully

Screenshots If applicable, add screenshots to help explain your problem.

Versions

  • react-boilerplate-cra-template: v1.1.1
  • Node/NPM: v15.1.0/v7.0.8
  • Browser: N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
hisankarancommented, Jul 26, 2021

While on yarn, I see this reported as warning.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template-rb...

yarn add v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.20.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "cra-template-rb > redux-injectors@1.3.0" has incorrect peer dependency "react@^16.6.0".
warning "cra-template-rb > redux-injectors@1.3.0" has incorrect peer dependency "react-dom@^16.6.0".
warning "cra-template-rb > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
success Saved 53 new dependencies.
2reactions
Can-Sahincommented, Dec 22, 2020

https://github.com/npm/cli/issues/2128

Looks like CRA issue. I cannot reproduce it weirdly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve dependency tree error when installing npm ...
You have dependency conflict (incorrect and potentially broken dependency) as it says, so try to run the command with --force , or --legacy-peer ......
Read more >
Unable to resolve dependency tree error in Angular while ...
To fix Unable to resolve dependency tree error in Angular while installing `npm` packages follow the below steps. 1.
Read more >
ERESOLVE unable to resolve dependency tree when npm ...
Sometimes, When you are running npm install, You will get a dependency error npm ERR! ERESOLVE is unable to resolve the dependency tree....
Read more >
ERESOLVE unable to resolve dependency tree error [Solved]
The error "npm ERR! ERESOLVE unable to resolve dependency tree" occurs because starting with NPM version 7, NPM tries to install peerDependencies by...
Read more >
How to Fix npm ERR ERESOLVE Unable to Resolve ...
Command:- npm config set legacy-peer-deps trueIn This Video We Will See How to Fix npm ERR ERESOLVE Unable to Resolve Dependency Tree ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found