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).
Что интересно, когда я пробовал версию sudo, которую он загружает, но ng
не распознается в терминале.
Мой узел 10.16.3, а мой npm 6.9.0
Это проблема с файлом или моя мама c?