Home > Software engineering >  ng serve - This version of CLI is only compatible with Angular ^13.0.0
ng serve - This version of CLI is only compatible with Angular ^13.0.0

Time:11-15

I got a problem i do not understand why it is happening

I tried to start my Angular applikation wiht ng serve and this is happening: Angular Error

But if I check my versions everything seems to be fine ?!

np informations

More Informations:

  1. OS: Raspberry PI OS on Raspberry PI 3 model B
  2. I tried the upgrade thing, but it did not work

Thanks for every answer.

Update: Tried it with npm install -g @angular/cli@12. Did not work. Still the same error.

CodePudding user response:

Run

 ng --version

Update your original question with the results.

This is likely your global version needs to be downgraded

npm install -g @angular/cli@12

CodePudding user response:

You need to upgrade you local Angular CLI version

rm -rf node_modules 
npm uninstall --save-dev angular-cli
npm install --save-dev @angular/cli@latest
npm i 
  • Related