I have the following package installed globally via npm:
+-- gulp-cli@2.0.1 (github:gulpjs/gulp-cli#4782b9a582ce7cc7e009073705a565b57d235332)
I have tried to uninstall it like so...
npm uninstall gulp-cli@2.0.1
But it does not remove it. How can I get this package removed from my global location?
I'm on npm version 6.1.0
I was experiencing the same problem but when I used the following code, it worked:
npm rm -g gulp
Thanks to R. Wanjohi I figured it out for my machine. I had to do the following to get the global version of gulp cli off my machine:
npm rm -g gulp-cli
You need to uninstall it globally (add the -g
tag)
npm uninstall -g gulp-cli@2.0.1
Here is the npm docs: https://docs.npmjs.com/cli/uninstall.html