You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a happy user here, adding some information from the web. And a note, this one almost made me not use node-red to begin with. The flag is scary.
Here is what the docs say it's for:
The --unsafe-perm flag in npm allows package scripts to run with root/administrator privileges. It stops npm from switching the user ID (UID) and group ID (GID) down to a lower-level user during global installations. This prevents permission errors when building native modules as a root user
Activity
nycynik commentedon Aug 11, 2026
Just a happy user here, adding some information from the web. And a note, this one almost made me not use node-red to begin with. The flag is scary.
Here is what the docs say it's for: