Updating the Angle CLI to the latest version?

0

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?

    
asked by anonymous 01.11.2018 / 16:41

0 answers