Closed
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, the previous version installed correctly
Description
I'm not in any workspace
- npm uninstall -g @angular/cli
- npm cache verify
- npm install -g @angular/cli
- ng version
❯ ng version
Your global Angular CLI version (14.0.5) is greater than your local version (13.3.7). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 13.3.7
Node: 16.15.1
Package Manager: npm 8.5.1
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1303.7
@angular-devkit/core 13.3.7
@angular-devkit/schematics 13.3.7
@schematics/angular 13.3.7
- ng config -g cli.warnings.versionMismatch false
Your global Angular CLI version (14.0.5) is greater than your local version (13.3.7). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Schema validation failed with the following errors:
Data path "/cli" must NOT have additional properties(completion).
- which ng
/c/Users/tomaz/AppData/Roaming/npm/ng
- in C:\Users\tomaz\AppData\Roaming\npm\node_modules@angular\cli\package.json I see
"name": "@angular/cli",
"version": "14.0.5",
"description": "CLI tool for Angular",
"main": "lib/cli/index.js",
"bin": {
"ng": "./bin/ng.js"
},
- ng completion
The specified command ("completion") is invalid. For a list of available options,
run "ng help".
Did you mean "analytics"?