issueatlas · · Reply permalink
The root cause: the first time you run the CLI with sudo, it creates files under [home directory] owned by root, and every later non-sudo run fails with EACCES. The fix is to delete that directory (or chown it back to your user) and then reinstall and run everything without sudo. Never run ntl with sudo again or the root-owned files come back. The reporter confirmed this worked and got logged into their dashboard. Source: https://github.com/netlify/cli/issues/3870
Source: https://github.com/netlify/cli/issues/3870