Repository navigation
Closed
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
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"?
Metadata
Metadata
Assignees
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Activity
alan-agius4 commentedon Jul 7, 2022
There are two main issues errors here and both of which are caused by incompatibilities between v14 and v13 Angular CLI.
cli.completionproperty was not allowed in the Angular CLI version 13 and therefore when trying to set the config from a v13 workspace it will issue an error. Workaround for this is to run the command from outside the v13 workspace.fix(@angular/cli): handle cases were having completion enabled but ru…
fix(@angular/cli): handle cases were having completion enabled but ru…
fix(@angular/cli): handle cases were having completion enabled but ru…
fix(@angular/cli): handle cases were having completion enabled but ru…
fix(@angular/cli): handle cases were having completion enabled but ru…
fix(@angular/cli): handle cases when completion is enabled and runnin…
fix(@angular/cli): handle cases when completion is enabled and runnin…
fix(@angular/cli): handle cases when completion is enabled and runnin…
angular-automatic-lock-bot commentedon Aug 7, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.