Ng serve does not work because of package.json and Angular.json file configuration missing in Angular 6 version, to make it work we will uninstall the Angular Cli and update it. We will create the new project of Angualr to update angular.json file so that ng Serve can work properly.
Commands:
npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest
Create new project and run it with ng serve -o
Facebook: / wantedtalks
Website:// www.wantedtalks.com
Youtube Channal Url: / wantedtalks