I've been working on an Angular 8 website for a while and now I'm about to start a new website and I want to make sure I'm using the newest available version of Angular but when I use the CLI to create a new website it seems to do it in a mix of 8 and 10.
I keep seeing this error message when I try to generate the new website:
Your global Angular CLI version (10.0.2) is greater than your local
version (8.3.22). The local Angular CLI version is used.
What can I do to get everything on version 10?
This is the result of "ng --version"
Your global Angular CLI version (10.0.2) is greater than your local
version (8.3.22). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 8.3.22
Node: 12.14.1
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.803.22
@angular-devkit/core 8.3.22
@angular-devkit/schematics 8.3.22
@angular/cli 8.3.22
@schematics/angular 8.3.22
@schematics/update 0.803.22
rxjs 6.4.0
If I navigate right out of the folder where I want to create my project I get this when I run ng --version
Angular CLI: 10.0.2
Node: 12.14.1
OS: win32 x64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1000.2
@angular-devkit/core 10.0.2
@angular-devkit/schematics 10.0.2
@schematics/angular 10.0.2
@schematics/update 0.1000.2
rxjs 6.5.5