How To Install Ng Executable For Angular

I've merely finished setting upward a novel unit of measurement together with straight off I'm trying to download about of my sometime angular projects. To my disappointment, I've encountered a rather like but dissimilar mistake from before, which unfortunately, I forgot what I did to solve :-(

So I'm blogging it now.

Right afterward installing node you'll convey access to npm binary but non ng. To install the ng binary nosotros run:

npm install -g @angular/cli 

And hence when I tried to run: ng serve, I got:
npm ERR! Error: EPERM: functioning non permitted, scandir 

Solution (run the next commands):
 npm cache verify npm install -g @angular/cli --force 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.