Как удалить глобальный пакет NPM
npm uninstall -g <package-name>
# example
npm uninstall -g webpack
fast_and_the_curious
npm uninstall -g <package-name>
# example
npm uninstall -g webpack
# In order to uninstall a global package, issue the following command:
npm uninstall --location=global <@scope/package_name>
npm uninstall -g <package_name>
npm uninstall -g <@scope/package_name>