npm i @reach/router npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! code example
Example 1: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree
npm config set legacy-peer-deps true
Example 2: ERESOLVE unable to resolve dependency tree npm ERR npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/core
npx create-react-app myapp --template typescript
cd myapp
rm -rf node_modules
npm install