-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
if you type:
npm install -g @angular/cli
ng new
you will get the error:
ng: command not found
because you do not have access to the global directory of npm
solution:
just use sudo
sudo npm install -g @angular/cli
ng new
texyz, foxreymann, mali30, jiashuang2018, tezeen and 15 moretrotyl, inane, fayeyen, AreJay-Smith, abdulbaqi and 16 moremali30, AdrianLopezMuller, RodolfoPenagos and frankdavidcoronaHugoLaguna, arshal, ndavi, ijadams and valehasadli
Metadata
Metadata
Assignees
Labels
No labels