Error: EACCES: permission denied, access \'/Users/gs/.npm-global/lib/node_modules/@angular/cli\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path:
npm ERR! '/Users/gs/.npm-global/lib/node_modules/@angular/cli' }
The operation was rejected by your operating system.
It is likely you do not have the permissions to access this file as the current user
if you believe this might be a permissions issue, please double-check the
permissions of the file and its containing directories, or try running
the command again as root/Administrator (though this is not recommended).
What's interesting when I tried the sudo version it downloads but ng
is not recognized in the terminal.
My node is 10.16.3 and my npm is 6.9.0
Is this a file issue or my Mac?