Skip to content

Add support Nx v21 #249

@harrywebdev

Description

@harrywebdev

Is your feature request related to a problem? Please describe.
Qwik-nx package cannot be used in Nx v21 because of dependency conflict.

Describe the solution you'd like
Qwik-nx no longer blocks npm install on Nx v21.

Describe alternatives you've considered
I've used it with npm install --force and it seems that the actual package is working well in Nx 21 (just the dependency graph is a problem.)

Additional context

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: @nx/[email protected]
npm error node_modules/@nx/devkit
npm error   dev @nx/devkit@"21.0.3" from the root project
npm error   @nx/devkit@"21.0.3" from @nx/[email protected]
npm error   node_modules/@nx/cypress
npm error     dev @nx/cypress@"21.0.3" from the root project
npm error   12 more (@nx/eslint, @nx/eslint-plugin, @nx/jest, @nx/js, ...)
npm error
npm error Could not resolve dependency:
npm error peer @nx/devkit@"^20.7.0" from [email protected]
npm error node_modules/qwik-nx
npm error   qwik-nx@"3.1.1" from the root project
npm error
npm error Conflicting peer dependency: @nx/[email protected]
npm error node_modules/@nx/devkit
npm error   peer @nx/devkit@"^20.7.0" from [email protected]
npm error   node_modules/qwik-nx
npm error     qwik-nx@"3.1.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

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