You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started with a fresh install of the typescript template. After deleting node_modules and package-lock.json and running npm install, I get an error resolving dependencies:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: typescript@4.0.5
npm ERR! node_modules/typescript
npm ERR! typescript@"^4.0.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@"^3.2.1" from react-scripts@4.0.0
npm ERR! node_modules/react-scripts
npm ERR! react-scripts@"4.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.
npm ERR!
npm ERR! See $HOME/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! $HOME/.npm/_logs/2020-11-06T15_22_26_359Z-debug.log
Seems like this is covered by #9995, not sure if it's related to the main issue though.
Environment
Environment Info:
current version of create-react-app: 4.0.0
running from $HOME/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app
System:
OS: Linux 4.15 Ubuntu 18.04.5 LTS (Bionic Beaver)
CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
Binaries:
Node: 15.1.0 - ~/.config/nvm/15.1.0/bin/node
Yarn: Not Found
npm: 7.0.8 - ~/.config/nvm/15.1.0/bin/npm
Browsers:
Chrome: 86.0.4240.183
Firefox: 82.0.2
npmPackages:
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1
react-scripts: 4.0.0 => 4.0.0
npmGlobalPackages:
create-react-app: Not Found
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the typescript template, eslint seems to be crashing on small changes to the source code.
Reproduction:
npx create-react-app --template typescript
src/App.tsx
, change L18 totarget={3}
npm start
terminal output:
Did you try recovering your dependencies?
I started with a fresh install of the typescript template. After deleting
node_modules
andpackage-lock.json
and runningnpm install
, I get an error resolving dependencies:Seems like this is covered by #9995, not sure if it's related to the main issue though.
Environment
The text was updated successfully, but these errors were encountered: