Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why can't I uninstall node with homebrew?

I’m on a MacBook running MacOS 12.6.1
I’m trying to uninstall node. But its not working.
How can I fix this?

See the output below:

% node -v
v14.21.3

% which node
/opt/homebrew/opt/node@14/bin/node

% ls -al /opt/homebrew/opt/node@14
lrwxr-xr-x  1 me  admin  25 Mar  6 21:26 /opt/homebrew/opt/node@14 -> ../Cellar/node@14/14.21.3

% brew uninstall node --force
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%

% which node
/opt/homebrew/opt/node@14/bin/node

% node -v
v14.21.3

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You have version node@14 installed, which is different from the regular node formula.

brew uninstall node@14

Should do the trick.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading