code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! 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: codecrepper npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree

npm install  --force

Example 3: 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

Tags:

Misc Example