the serve command requires to be run in an angular code example
Example: The serve command requires to be run in an Angular project, but a project definition could not be found.
npm uninstall -g angular-cli
npm uninstall --save-dev angular-cli
npm uninstall -g angular-cli
npm uninstall --save-dev angular-cli