error: eaccess: permission denied ionic

Shell
sudo chown -R macusername .config/

# And then we need to set permission to project folder too
sudo chown -R macusername projectfolder/sudo chown -R macusername .config/

# And then we need to set permission to project folder too
sudo chown -R macusername projectfolder/

Source

Also in Shell: