question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng version display beta.21 despite .26 is installed on win7-x64

See original GitHub issue

Type

Bug, not blocking

Summary

Version displayed using ng --version on win7-x64 is wrong.

OS

Windows 7

Versions.

angular-cli: 1.0.0-beta.21 node: 7.4.0 os: win32 x64

Repro steps.

  • Installed clean node
  • Check no global node_modules is here except npm
  • npm install -g npm to update NPM
  • npm install -g angular-cli: installs the angular-cli

±- angular-cli@1.0.0-beta.26 | ±- @angular-cli/ast-tools@1.0.15 | | -- @angular/tsc-wrapped@0.5.1 | | – tsickle@0.2.4 | | `-- source-map-support@0.4.10 | ±- @angular-cli/base-href-webpack@1.0.15 …

  • ng --version:

angular-cli: 1.0.0-beta.21 node: 7.4.0 os: win32 x64

Additional comment

Was tested under linux and max, I don’t encounter the problem and proper version is displayed.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Broccocommented, Jan 20, 2017

This could also be an issue with the local project’s version of angular-cli. The global install hands off to the local installation within projects.

So ensure that if you are in a project directory that you update that version as well.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 6, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Checking version of angular-cli that's installed? - Stack Overflow
Go to your folder path in cmd where your angular is installed and type ng --version it will show your angular version. Thanks....
Read more >
ng version - Angular
ng version link. Contents. Options. Outputs Angular CLI version. ng version. ng v. Options. Option, Description, Value Type, Default Value. --help.
Read more >
How to generate apps with older @angular/cli versions
We'll show how to generate apps as if we had ng CLI version for the respective Angular ... You need to install the...
Read more >
A Guide to Angular CLI, Node.js, and Build Tools
In this tutorial, we'll learn how to install Angular CLI in Windows ... command prompt which should display the installed version of Node:...
Read more >
How To Install Angular CLI - KnowledgeHut
Angular CLI's first beta version was released in 2017. ... Once you are done installing Angular CLI, type in (ng v) to check...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found