Re:Facebook-owned sites were down
by victor9000 on Monday October 04, 2021 @05:14PM
(#28752161)
You can use a custom npm prefix to avoid the mess you're describing. So basically:
See current prefix:
> npm config get prefix
Set prefix to something you can write to without sudo:
> npm config set prefix /some/custom/path
Wait, we all do, here.