code eresolve npm err eresolve unable to resolve dependency tree angular 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