Skip to content

Unmet peer dependency issue with angular-cli and @listr2/prompt-adapter-inquirer #28870

@arobinson

Description

@arobinson

Command

other

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

├─┬ @angular/cli 19.0.0-rc.2
│ └─┬ @listr2/prompt-adapter-inquirer 2.0.17
│   └── ✕ unmet peer @inquirer/prompts@">= 3 < 7": found 7.1.0

RC2 is using 2.0.17 of @listr2/prompt-adapter-inquirer but using an incompatible version of @inquirer/prompts

Minimal Reproduction

pnpm i -g @angular/cli@next
 WARN  1 deprecated subdependencies found: puppeteer@13.7.0
Packages: +109 -61
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------
Progress: resolved 500, reused 500, downloaded 0, added 109, done

/Users/andrew/.local/share/pnpm/global/5:
- @angular/cli 18.0.0
+ @angular/cli 19.0.0-rc.2

 WARN  Issues with peer dependencies found
.
└─┬ @angular/cli 19.0.0-rc.2
  └─┬ @listr2/prompt-adapter-inquirer 2.0.17
    └── ✕ unmet peer @inquirer/prompts@">= 3 < 7": found 7.1.0

Exception or Error

WARN  Issues with peer dependencies found

Your Environment

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 19.0.0-rc.2
Node: 22.11.0
Package Manager: npm 10.9.0
OS: darwin arm64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1900.0-rc.2
@angular-devkit/core         19.0.0-rc.2
@angular-devkit/schematics   19.0.0-rc.2
@schematics/angular          19.0.0-rc.2

Anything else relevant?

No response

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