Skip to content

ng version bug #18667

@xgqfrms

Description

@xgqfrms

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, the previous version in which this bug was not present was: ....

not sure

Description

A clear and concise description of the problem...
  1. website error

https://angular.io/cli/version

REQUEST FOR DOCUMENT FAILED.

We are unable to retrieve the "cli/version" page at this time. Please check your connection and try again later.

  1. command error
$ ng --version

$ ng -v
An unhandled exception occurred: ENOENT: no such file or directory, scandir '/Users/xgqfrms-mbp/Documents/GitHub/Angular-8.x-in-Action/node_modules'
See "/private/var/folders/qm/csrtpvpn62x82v4zykvsrnw80000gn/T/ng-oL5J8g/angular-errors.log" for further details.

image

image

🔬 Minimal Reproduction

  1. install angular cli
#
$ yarn global add @angular/cli
  1. executing above commands
$ ng --version

$ ng -v

🔥 Exception or Error




An unhandled exception occurred: ENOENT: no such file or directory, scandir '/Users/xgqfrms-mbp/Documents/GitHub/Angular-8.x-in-Action/node_modules'
See "/private/var/folders/qm/csrtpvpn62x82v4zykvsrnw80000gn/T/ng-oL5J8g/angular-errors.log" for further details.

🌍 Your Environment




➜  ~ uname -a
Darwin xgqfrms-mbp.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
➜  ~ 


Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions