You do not have permissions #506
-
How do I update the files permission? When I try installing yarn it gives me an error that I do not have the permissions for the file. I am on Macos, newest version, does anyone know hoe to fix this ?? I have tried changing the permissions already , but when I do it tells me I do not have the necessary permissions to change the permissions. Its annoying please help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
hello @anonymous89002 those type of changes requires super user privileges (admin), so in order to execute it you should use You can refer to this guide: https://tecadmin.net/install-nvm-macos-with-homebrew/ |
Beta Was this translation helpful? Give feedback.
hello @anonymous89002 those type of changes requires super user privileges (admin), so in order to execute it you should use
sudo
command, but this is not recommended because npm packages shouldn't havesudo
permissions. So you would like to install npm and it's packages with NVM or Homebrew.You can refer to this guide: https://tecadmin.net/install-nvm-macos-with-homebrew/