Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve dependency conflict with @nrwl/workspace@15 #276

Open
rexkenley opened this issue Nov 3, 2022 · 3 comments
Open

Resolve dependency conflict with @nrwl/workspace@15 #276

rexkenley opened this issue Nov 3, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@rexkenley
Copy link

Current Behavior

Install new @nrwl/workspace@15 results in peer dependency error

Expected Behavior

Install new @nrwl/workspace@15 with no dependency error

Steps to Reproduce

npm i @nrwl/workspace@latest

Failure Logs

Error: npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @nx-plus/docusaurus@14.1.0
npm ERR! Found: @nrwl/workspace@15.0.7
npm ERR! node_modules/@nrwl/workspace
npm ERR! dev @nrwl/workspace@"15.0.7" from the root project
npm ERR! @nrwl/workspace@"15.0.7" from @nrwl/cypress@15.0.7
npm ERR! node_modules/@nrwl/cypress
npm ERR! dev @nrwl/cypress@"15.0.7" from the root project
npm ERR! @nrwl/cypress@"15.0.7" from @nrwl/react@15.0.7
npm ERR! node_modules/@nrwl/react
npm ERR! dev @nrwl/react@"15.0.7" from the root project
npm ERR! 2 more (@nrwl/storybook, @nrwl/web)
npm ERR! 8 more (@nrwl/eslint-plugin-nx, @nrwl/js, @nrwl/node, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nrwl/workspace@"^14.3.6" from @nx-plus/docusaurus@14.1.0
npm ERR! node_modules/@nx-plus/docusaurus
npm ERR! dev @nx-plus/docusaurus@"^14.1.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @nrwl/workspace@14.8.6
npm ERR! node_modules/@nrwl/workspace
npm ERR! peer @nrwl/workspace@"^14.3.6" from @nx-plus/docusaurus@14.1.0
npm ERR! node_modules/@nx-plus/docusaurus
npm ERR! dev @nx-plus/docusaurus@"^14.1.0" 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!

Environment

"@nx-plus/docusaurus": "^14.1.0",

Node : 16.18.0
OS : win32 x64
npm : 8.19.2

nx : 15.0.6
@nrwl/angular : Not Found
@nrwl/cypress : 15.0.6
@nrwl/detox : Not Found
@nrwl/devkit : 14.7.4
@nrwl/esbuild : Not Found
@nrwl/eslint-plugin-nx : 15.0.6
@nrwl/expo : Not Found
@nrwl/express : Not Found
@nrwl/jest : 15.0.6
@nrwl/js : 15.0.6
@nrwl/linter : 15.0.6
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : 15.0.6
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : 15.0.6
@nrwl/react-native : Not Found
@nrwl/rollup : 15.0.6
@nrwl/schematics : Not Found
@nrwl/storybook : 15.0.6
@nrwl/web : 15.0.6
@nrwl/webpack : 15.0.6
@nrwl/workspace : 15.0.6
typescript : 4.8.4

Local workspace plugins:

Community plugins:
@nx-plus/docusaurus: 14.1.0

@rexkenley rexkenley added the bug Something isn't working label Nov 3, 2022
@javiermanzano
Copy link

+1

@ZachJW34
Copy link
Owner

ZachJW34 commented Dec 5, 2022

I have recently published @nx-plus/docusaurus@15.0.0-rc.0. I haven't published any docs/migrations yet but if you're curious you can try it out! It requires v15 of Nx.

I'm going to be working over the next week to write some docs and migrations so stay tuned!

@Liam-Scott-Russell
Copy link

I have recently published @nx-plus/docusaurus@15.0.0-rc.0. I haven't published any docs/migrations yet but if you're curious you can try it out! It requires v15 of Nx.

I'm going to be working over the next week to write some docs and migrations so stay tuned!

@ZachJW34 just wondering if it would be possible to also bump the versions in the @nx-plus/nuxt package too?

Currently have the same issues due to v14 vs v15 conflicts. Happy to use an v.15.0.0-rc version while you sort the rest of the docs/migrations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants