npm err! eresolve unable to resolve dependency tree react 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 Found: [email protected] Could not resolve dependency: react native paper

npx -p npm@6 npm i --legacy-peer-deps

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