The serve command requires to be run in an Angular project, but a project definition could not be found.

Error Message "The serve command requires to be run in an Angular project, but a project definition could not be found" Prompt in nodejs command prompt when we try to execute the C:\>ng serve on non Angular project directory.

It means that you need to go inside the Angular project directory and once you are inside the Angular Project directory then type this command.

C:\AngularProject>ng serve.


Comments

Popular posts from this blog

Inno Setup - Free installer for Windows programs

how to add meta tag elements dynamic in ASP.NET

Defensive Programming Approach - A developer must have this skill