Home > database >  npm uninstall -g create-react-app and yarn global remove create-react-app not working
npm uninstall -g create-react-app and yarn global remove create-react-app not working

Time:12-22

I am unable to uninstall create-react-app globally using npm uninstall -g create-react-app and yarn global remove create-react-app. I uninstalled node and installed it still same problem.

enter image description here

CodePudding user response:

After npm uninstall -g create-react-app :

  1. npm cache clean --force
  2. npm cache verify
  3. npx clear-npx-cache to clear your npx cache.
  4. npx create-react-app your-app or npx create-react-app@latest my-app --use-npm
  • Related