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.
CodePudding user response:
After npm uninstall -g create-react-app
:
npm cache clean --force
npm cache verify
npx clear-npx-cache
to clear your npx cache.npx create-react-app your-app
ornpx create-react-app@latest my-app --use-npm