global `ng version` shows errors instead of version numbers
See original GitHub issueVersions
Angular CLI: 6.0.0-rc.7
Node: 9.9.0
OS: linux x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect <error>
@angular-devkit/core <error>
@angular-devkit/schematics <error>
@schematics/angular <error>
@schematics/update <error>
rxjs <error>
Repro steps
yarn global add @angular/cli@next
ng version
Observed behavior
Package Version
------------------------------------------------------
@angular-devkit/architect <error>
@angular-devkit/core <error>
@angular-devkit/schematics <error>
@schematics/angular <error>
@schematics/update <error>
rxjs <error>
Desired behavior
Hide the errors if these packages are not supposed to be installed, or show me the version numbers.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:10 (1 by maintainers)
Top Results From Across the Web
global `ng version` shows errors instead of version numbers
Changing directory to one of my project that had node_modules, then ng version showing the installed package versions correctly.
Read more >the installed angular cli version is older than the latest stable ...
When I run the command ng update @angular/material@8 , I get the following: The installed Angular CLI version is older than the latest...
Read more >[Solved]-global `ng version` shows errors instead of version ...
[Solved]-global `ng version` shows errors instead of version numbers-angular.js ... Try uninstalling the @angular/cli package globally with npm uninstall @angular ...
Read more >Global Angular CLI version is greater than your local version
This tutorial guides you on how to fix Angular warning “Your global Angular CLI version is greater than your local version.
Read more >@angular/cli | Yarn - Package Manager
The Angular CLI no longer supports 16.10.x , 16.11.x and 16.12.x . Current minimum versions of Node.js are 14.20.0 , 16.13.0 and 18.10.0...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I did have the same problem, what I did and work for me was uninstall angular globally, npm uninstall -g @angular/cli and installed again npm install -g @angular/cli@latest. And got all package installed without errors. Hope works for you too.
This looks somewhat related. The failure only happens with
yarn global add
but not withnpm -g install
. What could be the cause?I tried this with Windows as well as KDE Neon (basically Ubuntu 16.04 Xenial) and it seems to be this way in both places.