How to install ng executable for Angular
I've just finished setting up a new unit and now I'm trying to download some of my old angular projects. To my disappointment, I'...

So I'm blogging it now.
Right after installing node you'll have access to npm binary but not ng. To install the ng binary we run:
npm install -g @angular/cli
And then when I tried to run: ng serve, I got:
npm ERR! Error: EPERM: operation not permitted, scandir
Solution (run the following commands):
npm cache verify npm install -g @angular/cli --force
Post a Comment