Reputation: 31
I am trying to run ng serve
in Windows 10
environment inside my angular project but it returns the error listed below:
'ng' is not recognized as an internal or external command,
operable program or batch file.
I am inside below folder
C:\Users...\AppData\Roaming\npm\angular-hello-world>ng serve
What am I doing wrong here.
I am a newbie so easy clear steps would be helpful. Thanks.
Upvotes: 2
Views: 1428
Reputation: 24581
Looks like it is just not installed globally.
Try npm start
to go on without global installation or simply install it globally: npm install -g @angular/cli
Upvotes: 1