Skip to content

Unmatched version with "@nrwl/workspace@15.0.11" #651

@tomavic

Description

@tomavic

I created an empty workspace using

npx create-nx-workspace my-org --preset=empty

Then I tried to run

npm install --save-dev @nxtend/ionic-angular

I got the following issue

$ npm install --save-dev @nxtend/ionic-angular
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-org@0.0.0
npm ERR! Found: @nrwl/workspace@15.0.11
npm ERR! node_modules/@nrwl/workspace
npm ERR!   dev @nrwl/workspace@"15.0.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nrwl/workspace@"^13.0.0" from @nxtend/capacitor@13.0.0
npm ERR! node_modules/@nxtend/capacitor
npm ERR!   peer @nxtend/capacitor@"^13.0.0" from @nxtend/ionic-angular@13.1.0
npm ERR!   node_modules/@nxtend/ionic-angular
npm ERR!     dev @nxtend/ionic-angular@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

It seems that you are not syncing with @nrwl as you still depend on 13.x.x.

What should be done for now to avoid it and keep updated in the future?

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