0

I installed a npm package globally on my Mac. I used sudo for it since I had permission issue.

I know this is totally not the way to do it, but at this time I wasn't aware of it. I read a lot things how bad it is and can lead to security issues and so on.

Is there any possibility to 'undo' this? What effects will this have now for my computer or/and securitry?

Are there any ways to check and fix the permissions?

Thank you really much in advance!

I tried to uninstall the package again in the first place but I have no idea if this will make any differences

1
  • You'd only have permission issues if you installed it in a not-suitable directory—example, permission to execute. But since you've uninstalled the package, you are good. Commented May 23 at 14:54

0