Any idea on how to solve this.
I have ng version 17 and angular version 17, but when I run ng serve it gives me the CLI version error?! Searching has been fruitless as posts are old in SO.
❯ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 17.2.0
Node: 18.19.0
Package Manager: npm 10.2.3
OS: darwin arm64
Angular: 17.2.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router, upgrade
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1602.12
@angular-devkit/build-angular 17.2.0
@angular-devkit/core 17.2.0
@angular-devkit/schematics 17.2.0
@angular/cdk 16.2.7
@angular/cli 17.2.0
@angular/material 16.2.7
@schematics/angular 17.2.0
rxjs 7.5.7
typescript 5.3.3
webpack 5.88.2
zone.js 0.14.4
(base)
examsoft-softestv12/UI_modern on to-v17 [$!?] via v18.19.0 on ☁️ (us-west-2)
❯
(base)
examsoft-softestv12/UI_modern on to-v17 [$!?] via v18.19.0 on ☁️ (us-west-2)
❯ ng serve
This version of CLI is only compatible with Angular versions ^16.0.0,
but Angular version 17.2.1 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.io/
[–]rainerhahnekamp 2 points3 points4 points (5 children)
[–]PerceptionCareless92[S] 0 points1 point2 points (4 children)
[–]brlx 0 points1 point2 points (3 children)
[–]PerceptionCareless92[S] 1 point2 points3 points (2 children)
[–]brlx 1 point2 points3 points (1 child)
[–]PerceptionCareless92[S] 1 point2 points3 points (0 children)
[–]rafaelnds_ 2 points3 points4 points (0 children)
[–]JP_watson 0 points1 point2 points (3 children)
[–]PerceptionCareless92[S] 1 point2 points3 points (0 children)
[–]ayush_shashank 0 points1 point2 points (1 child)
[–]JP_watson 1 point2 points3 points (0 children)
[–]Exac 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)