Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

uninstall npm package

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:UsersuserAppDataRoaming
pm)
Delete all the related files to your package
Goto node_modules find and delete the package
This should work.
Source by nodejs.dev #
 
PREVIOUS NEXT
Tagged: #uninstall #npm #package
ADD COMMENT
Topic
Name
3+6 =