Lucy Jones
Lucy Jones

Reputation: 31

ng serve not working inside an angular project folder using CMD in Windows

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

Answers (1)

smnbbrv
smnbbrv

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

Related Questions