Skip to content

Instantly share code, notes, and snippets.

@Pacheco95
Created December 8, 2020 22:47
Show Gist options
  • Save Pacheco95/75d6f56d55ebed3b8864be51b8ae7e82 to your computer and use it in GitHub Desktop.
Save Pacheco95/75d6f56d55ebed3b8864be51b8ae7e82 to your computer and use it in GitHub Desktop.
react-boilerplate-cra-template ERESOLVE unable to resolve dependency tree
$ npx create-react-app --template cra-template-rb cra-boilerplate-ts
Need to install the following packages:
create-react-app
Ok to proceed? (y) y
Creating a new React app in /home/user/repositories/cra-boilerplate-ts.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template-rb...
added 2014 packages, and audited 2014 packages in 41s
122 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Initialized a git repository.
Installing template dependencies using npm...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR! typescript@"4.0.5" from the root project
npm ERR! peer 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" from [email protected]
npm ERR! node_modules/tsutils
npm ERR! tsutils@"^3.17.1" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! peer @typescript-eslint/eslint-plugin@"^4.0.0" from [email protected]
npm ERR! node_modules/eslint-config-react-app
npm ERR! eslint-config-react-app@"^6.0.0" from [email protected]
npm ERR! node_modules/react-scripts
npm ERR! 1 more (react-scripts)
npm ERR! tsutils@"^3.17.1" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/typescript-estree
npm ERR! @typescript-eslint/typescript-estree@"4.9.1" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/experimental-utils
npm ERR! @typescript-eslint/experimental-utils@"4.9.1" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! 1 more (eslint-plugin-jest)
npm ERR! 1 more (@typescript-eslint/parser)
npm ERR! 1 more (@typescript-eslint/typescript-estree)
npm ERR! 1 more (ts-node)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@"^3.2.1" from [email protected]
npm ERR! node_modules/react-scripts
npm ERR! react-scripts@"4.0.1" 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! See /home/user/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2020-12-08T22_36_42_911Z-debug.log
`npm install --save @reduxjs/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] @testing-library/[email protected] @testing-library/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]` failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment