Skip to content

@angular-devkit/schematics-cli: Unmet peer dependency on @types/node #29487

@aqeelat

Description

@aqeelat

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

When installing using yarn:

p713eb → ✘ @angular-devkit/schematics-cli@npm:19.1.3 doesn't provide @types/node to @inquirer/prompts@npm:7.2.1 [9a827]

Which means that schematics-cli should either add it as a dependency or as a peerDependency.

Minimal Reproduction

  1. touch yarn.lock
  2. yarn set version stable
  3. yarn add @angular-devkit/schematics-cli@^19

Exception or Error


Your Environment

-

Anything else relevant?

I came across this when I upgraded nestjs 10 -> 11

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