I started a new angled project, this works fine for me when I use:
npm start
However, I'm trying to use
ng serve
So I tried this:
npm uninstall --save-dev angular-cli
npm install --save-dev @angular/cli@latest
However, I'm getting this error even when I run the command:
ng --version
An invalid configuration file was found ['/home/edson/.angular.json']. Please delete the file before running the command.
Does anyone know why this is happening?