Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

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

Open
tomavic opened this issue Nov 7, 2022 · 1 comment
Open

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

tomavic opened this issue Nov 7, 2022 · 1 comment

Comments

@tomavic
Copy link

tomavic commented Nov 7, 2022

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?

@mrcreatist
Copy link

Try to install with --legacy-peer-deps
npm install --save-dev @nxtend/ionic-angular --legacy-peer-deps

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants