Skip to content

npm install fails with peer dependency issues #401

@gk-bbai

Description

@gk-bbai

Steps to Reproduce

  1. git clone https://github.com/nrwl/nx-examples.git
  2. cd nx-examples
  3. npm install
  4. Error
    npm error code ERESOLVE
    npm error ERESOLVE unable to resolve dependency tree
    npm error
    npm error While resolving: [email protected]
    npm error Found: [email protected]
    npm error node_modules/nx
    npm error   dev nx@"22.2.0-beta.4" from the root project
    npm error
    npm error Could not resolve dependency:
    npm error peer nx@">= 21 <= 23 || ^22.0.0-0" from @nx/[email protected]
    npm error node_modules/@nx/devkit
    npm error   dev @nx/devkit@"22.2.0-beta.4" from the root project

Node: v22.14.0
Npm: 10.9.2

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