7/20/2023 0 Comments Npm config set user![]() Set to true to suppress the UID/GID switching when running package scripts. Let’s take a look through the source code I never run as root, or with sudo privileges unless I am forced to. But wait, it’s always true unless using root. So there is a config setting allowed in the package.json that actually can set this per package. ![]() What exactly is this doing? Is it ‘unsafe’? The solution seems to be almost the same in both cases. When attempting to install Sindre Sorhus’ Pure ZSH theme both in Ubuntu WSL and Elementary Loki, I have issues with not having permissions. The issue that I’ve most recently encountered occurs in two different OS’s Windows and Elementary. ![]() ![]() I’ve routinely been directed to what feels like a magic fix to issues when installing items over NPM. ![]()
0 Comments
Leave a Reply. |