I installed the netlify-cli package globally using npm install netlify-cli -g
, the installation completed. After that I ran netlify
command and got this error
Error: EACCES: permission denied, open '/Users/{USER_FOLDER}/Library/Preferences/netlify/config.json.2846113261' You don't have access to this file.
To Reproduce
Steps to reproduce the behavior:
- Run
npm install netlify-cli -g
- Installation succeed
- Run
netlify
- Gets the error about not having access to config.json file