react-boilerplate-cra-template: ERESOLVE unable to resolve dependency tree

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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

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.

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

Looks like CRA issue. I cannot reproduce it weirdly

Installed yarn as @StefanBilliet suggested, now everything works. Make sure yarn is installed should be in the README.