uninstalling npm packages


I am trying to uninstall npm packages to fix an error that occurs when installing a package:

npm: /usr/lib/node_modules/npm/node_modules/cacache/node_modules/glob/LICENSE already exists in filesystem

I have been following this thread

but when I run the npm uninstall commands the directory remains there, same thing if I try to manually remove it, or try to uninstall using pacman.

Any ideas?

Thank you

Try the package with the command "overwrite" to install.

sudo pacman -S packagename --overwrite "*"

What npm package? Have you check to see if it's available in the AUR?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark