Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm uninstall is not removing node_modules/<package> folder from global dir while uninstalling certain packages #320

Closed
darcyclarke opened this issue Nov 8, 2019 · 1 comment
Labels
Bug thing that needs fixing

Comments

@darcyclarke
Copy link
Contributor

  Original bug ticket: [https://npm.community/t/10757](https://npm.community/t/10757)
  Originally filed: 2019-10-27T18:06:48.949Z
@darcyclarke darcyclarke added Bug Bug thing that needs fixing and removed Community labels Nov 8, 2019
@mgm09a
Copy link

mgm09a commented Nov 26, 2019

For others like myself that may find this GitHub issue while troubleshooting, some possibly helpful steps follow.

To install an npm package globally:
npm install -g <package name>

To uninstall a globally-installed npm package:
npm uninstall -g <package name>

To view the list of your globally-installed top-level packages:
npm list -g --depth 0

If there are any errors, find the directory where your global packages are stored:
npm root -g

Open that directory, and delete the folders for packages that are triggering the errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing
Projects
None yet
Development

No branches or pull requests

2 participants