The new command requires to be run outside of a project, but a project definition was found at 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