Skip to content

ng e2e and ng lint have to hit Enter twice to go on #26724

Closed

Description

@doggy8088

Command

e2e

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

No response

Description

Please watch the video I prepared. YouTube: https://youtu.be/OMq-22_fsgI

Minimal Reproduction

ng new demo1 --ssr=false --style=css
ng e2e

Exception or Error

No response

Your Environment

Angular CLI: 17.0.7
Node: 18.16.0
Package Manager: npm 9.5.1
OS: win32 x64

Angular: 17.0.7
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.7
@angular-devkit/build-angular   17.0.7
@angular-devkit/core            17.0.7
@angular-devkit/schematics      17.0.7
@schematics/angular             17.0.7
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else relevant?

ng lint have the same issue as well. When seeing Would you like to proceed?, I have to hit Enter twice to proceed.

Activity

  1. changed the title [-]`ng e2e` has a UX issue[/-] [+]`ng e2e` have to hit Enter twice to go on[/+] on Dec 21, 2023
  2. changed the title [-]`ng e2e` have to hit Enter twice to go on[/-] [+]`ng e2e` and `ng lint` have to hit Enter twice to go on[/+] on Dec 21, 2023
  3. alan-agius4 commented on Dec 21, 2023

    @alan-agius4
    Collaborator

    Hi @doggy8088, I am unable to replicate this on both Linux and Windows. Can you try using a different command line tool? Worth mentioning that we do not have special logic for this sort of prompt and we use Inquirer.js directly hence if there is a bug it's unlikely that it is actionable from our end.

  4. added
    needs: more info
    on Dec 21, 2023
  5. doggy8088 commented on Dec 21, 2023

    @doggy8088
    ContributorAuthor

    I tried Command Prompt (cmd.exe). It's the same issue.

    I recorded another video for this time: https://youtu.be/f2Qp9nb4klA

  6. doggy8088 commented on Dec 21, 2023

    @doggy8088
    ContributorAuthor

    I just tried @inquirer/prompts in my cmd.exe or pwsh.exe. It works fine. Only ng e2e have this issue.

  7. added
    freq1: low
    and removed
    needs: more info
    on Dec 21, 2023
  8. self-assigned this
    on Dec 21, 2023
  9. added a commit that references this issue on Dec 21, 2023
    f0eaf8b
  10. alan-agius4 commented on Dec 21, 2023

    @alan-agius4
    Collaborator

    @doggy8088, managed to replicate on Windows with cmd.exe and I have a fix in flight for this in #26725.

  11. added 2 commits that reference this issue on Dec 21, 2023
    26c5c36
    cf8805b
  12. added 2 commits that reference this issue on Dec 21, 2023
    a391b5f
    6dba26a
  13. angular-automatic-lock-bot commented on Jan 21, 2024

    @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.

  14. locked and limited conversation to collaborators on Jan 21, 2024
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: lowseverity3: brokentype: bug/fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions