Skip to main content
Improve command format
Source Link
Lin Du
  • 98.8k
  • 126
  • 311
  • 534
  • Run the following commands, step by step:

    Run the following commands, step by step:

  • npm cache clean -force

  • rm package-lock.json

  • rm -r node_modules

  • npm i --save --legacy-peer-deps

npm cache clean -force
rm package-lock.json
rm -r node_modules
npm i --save --legacy-peer-deps

  • Run the following commands, step by step:

npm cache clean -force
rm package-lock.json
rm -r node_modules
npm i --save --legacy-peer-deps

  • Run the following commands, step by step:

  • npm cache clean -force

  • rm package-lock.json

  • rm -r node_modules

  • npm i --save --legacy-peer-deps

  • Run the following commands, step by step. It fixed my issue:

npm cache clean –force-force
rm package-lock.json
rm -r node_modules
npm i --save --legacy-peer-deps

  • Run the following commands step by step. It fixed my issue:

npm cache clean –force
rm package-lock.json
rm -r node_modules
npm i --save --legacy-peer-deps

  • Run the following commands, step by step:

npm cache clean -force
rm package-lock.json
rm -r node_modules
npm i --save --legacy-peer-deps

added 12 characters in body
Source Link
Yasir
  • 579
  • 6
  • 11

1- clean the cache

  • Run the following commands step by step. It fixed my issue:

npm cache clean –force 
rm package-lock.json 
rm -r node_modules 
npm i --save --legacy-peer-deps

1- clean the cache

npm cache clean –force rm package-lock.json rm -r node_modules npm i --save --legacy-peer-deps

  • Run the following commands step by step. It fixed my issue:

npm cache clean –force 
rm package-lock.json 
rm -r node_modules 
npm i --save --legacy-peer-deps

Source Link
Yasir
  • 579
  • 6
  • 11
Loading