[arch-general] "npm" package issues
Maarten de Vries
maarten at de-vri.es
Wed Nov 4 14:21:47 UTC 2020
On Wed, 4 Nov 2020 at 15:17, Nick Shvelidze via arch-general <
arch-general at archlinux.org> wrote:
> I think running `pacman -Syu --overwrite '/usr/lib/node_modules/*'` is
> safe.
> I have no idea how those files would end up there without using `sudo
> npm install -g`
>
It would be good to also explicitly delete everything not owned by pacman
in /usr/lib/node_modules. Otherwise you run the risk that some old (deleted
upstream) files stick around and possibly cause weird issues.
-- Maarten
More information about the arch-general
mailing list