Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manually uninstalling create-react-app because npm uninstall not working

I try to uninstall create-react-app globally

npm uninstall -g create-react-app

But it gives me this result

up to date, audited 1 package in 264ms

found 0 vulnerabilities

I have node version v17.3.0 (currently the latest stable version) and npm 8.3.0 (i've run npm update)

Is it sufficient to do this manually?

  1. delete the alias /usr/local/bin/create-react-app (find it with which create-react-app)
  2. delete the folder that it refers to: /usr/local/lib/node_modules/create-react-app/
like image 516
Oba Api Avatar asked Nov 01 '25 22:11

Oba Api


1 Answers

Try clearing the npx cache with this command:

npx clear-npx-cache

This worked for me.

like image 69
Aaron Fuqua Avatar answered Nov 04 '25 13:11

Aaron Fuqua



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!