Skip to content

ng commands don't exit #25034

Closed
Closed

Description

@SmallhillCZ

Command

build, version, maybe others

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

Tried few older versions, but with no luck, maybe it's caused by something external? E.g. analytics (see comment below) responding with non standard error?

Description

When I run

Minimal Reproduction

npm i -g @angular/cli@latest
ng version

Exception or Error

No response

Your Environment

Angular CLI: 15.2.6
Node: 18.16.0
Package Manager: npm 9.5.0
OS: linux x64

Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1502.6 (cli-only)
@angular-devkit/core         15.2.6 (cli-only)
@angular-devkit/schematics   15.2.6 (cli-only)
@schematics/angular          15.2.6 (cli-only)

Anything else relevant?

Works with node v18.12.1 on both Linux and Windows.

Activity

  1. SmallhillCZ commented on Apr 18, 2023

    @SmallhillCZ
    Author

    Seems that it gets solved by ng analytics disable --global

  2. alan-agius4 commented on Apr 18, 2023

    @alan-agius4
    Collaborator

    Hi @SmallhillCZ, so the CLI exists correctly with with Node.js 18.12.1 but not 18.16.0?

  3. SmallhillCZ commented on Apr 18, 2023

    @SmallhillCZ
    Author

    No, sorry that was probably random thing of me responding N to analytics

  4. self-assigned this
    on Apr 18, 2023
  5. added a commit that references this issue on Apr 18, 2023
    9f29eff
  6. alan-agius4 commented on Apr 18, 2023

    @alan-agius4
    Collaborator

    #25035 should address the problem

  7. added
    freq1: low
    on Apr 18, 2023
  8. added 3 commits that reference this issue on Apr 18, 2023
    c0a0f72
    f4a6dac
    bae6b28
  9. angular-automatic-lock-bot commented on May 19, 2023

    @angular-automatic-lock-bot

    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.

  10. locked and limited conversation to collaborators on May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: @angular/clifreq1: lowseverity5: regressiontype: bug/fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions