Skip to main content

Posts

Showing posts with the label The serve command requires to be run in an Angular project

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

Error Detail: The serve command requires to be run in an Angular project, but a project definition could not be found We can fix this error by running the following command: Go to the project directory and execute the command to Uninstall global:             >> npm uninstall -g angular-cli Then, Reset Cache:            >> npm cache clean Then, Install latest CLI:          >> npm install -g @angular/cli@latest   Note: You don’t need to this command [ npm cache clean –force ], if you don't have any problem during the installation.