I am a new coder trying to get started with Angular and Node following a tutorial on Udemy. I have successfully (I think) installed Node.js and I'm running version 16.15.1 but when I try to install the angular client it fails every time (screenshot attached). Please could someone point out where I am going wrong?
FYI my name is Manraj and I am the only user on my mac (hence I am an admin) so that is why it appears in the code as Manrajs MBP as that is the name of my laptop.
CodePudding user response:
You need root privileges. Just use sudo
.
sudo npm install -g @angular/cli