Answered by : daniel-hemmati
npm uninstall -g <package-name>
# example
npm uninstall -g webpack
Source : https://nodejs.dev/learn/uninstalling-npm-packages | Last Update : Wed, 23 Dec 20
Answered by : scary-starling-apn65q6w05es
npm uninstall --save <package_name>
npm un <package_name>
Source : | Last Update : Thu, 20 Aug 20
Answered by : difficult-dormouse-jzjf2qw7on1u
npm uninstall <module_name>
Source : https://stackoverflow.com/questions/13066532/how-to-uninstall-npm-modules-in-node-js | Last Update : Tue, 26 May 20
Answered by : jealous-jellyfish-zeo2fafl0uhl
npm uninstall --save <package_name>
Source : https://docs.npmjs.com/uninstalling-packages-and-dependencies | Last Update : Wed, 08 Sep 21
Answered by : southern-boubou-d2xzra1tseez
npm uninstall -g <package_name>
Source : https://docs.npmjs.com/uninstalling-packages-and-dependencies | Last Update : Thu, 31 Dec 20
Answered by : depressed-dormouse-gmec123dqpir
npm uninstall -g <module_name> //to uninstall globally
Source : | Last Update : Thu, 25 Jun 20
Answered by : crowded-capuchin-oea117ump8x0
BASH
copy
npm uninstall <package-name>
Source : https://nodejs.dev/learn/uninstalling-npm-packages | Last Update : Mon, 14 Feb 22
Answered by : pranto
To uninstall a package you have previously installed locally:
npm uninstall <package-name>
To uninstall a package you have previously installed globally:
npm uninstall -g <package-name>
Source : | Last Update : Wed, 17 Aug 22
Answered by : southern-boubou-d2xzra1tseez
npm uninstall -g <@scope/package_name>
Source : https://docs.npmjs.com/uninstalling-packages-and-dependencies | Last Update : Thu, 31 Dec 20
Answered by : murali-s-n6uortnb2yw2
I have tried uninstalling global packages in several ways.
npm uninstall -g <package_name> this didn't work.
I managed to remove the global packages in the following way:
Goto terminal
Run this command npm list -g
Goto the path (C:\Users\user\AppData\Roaming\npm)
Delete all the related files to your package
Goto node_modules find and delete the package
This should work.
Source : | Last Update : Sun, 23 Oct 22