Occur error when run command `sudo npm install -g node-red-admin`

How to solve this problem?

Try running the command again with the --unsafe-perm option.

bash: --unsafe-perm: command not found

The full command is --unsafe-perm ? or still got something in front?

it's an option for the npm commind... so

sudo npm install -g --unsafe-perm node-red-admin


i don't know it success or fail....but why it output is no same as this below video (2:38) ?

That succeeded.

but why it output is no same from the video (2:38) ?

Different npm config options ? different npm version ? different platform ? His seemed to need bcrypt to compile etc.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.