Your global Angular CLI version (8.3.3) is greater than your local version (1.6.5). The local Angular CLI version is used.
Warning - Your global Angular CLI version (8.3.3) is greater than your local
3. Install Latest version of Angular CLI globally and in project as well.
version (1.6.5). The local Angular CLI version is used.
Explanation - When you run an angular application and you have different versions of Angular CLI installed globally and in local project then you can see this warning or error.
Solution - There are 3 things here.
- Either you can continue with this warning
- You can install matching version of angular CLI to global in local project by using below command.
npm install @angular/cli@version
To install latest angular CLI globally use below command.
To install latest angular CLI in project use below command.
npm install -g @angular/cli
npm install @angular/cli
Thanks
Comments
Post a Comment