Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall node-gyp

node-gyp was installed as a dependency of one of the modules I have used. Since then, every time I run a npm install command I am greeted with around a minute of my console being spammed with errors which are seemingly caused by node-gyp.

I don't want anything to do with node-gyp, but it seems to resist any attempt to uninstall it. I have tried using npm remove node-gyp, but with no results.

like image 233
user2248702 Avatar asked Mar 19 '26 16:03

user2248702


1 Answers

If you have installed it globally (which I suppose given your description), you need to specify -g to the uninstall command:

npm -g uninstall node-gyp
like image 101
Derlin Avatar answered Mar 22 '26 10:03

Derlin



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!