ZachJW34 / nx-plus

Collection of Nx Community Plugins
MIT License
302 stars 51 forks source link

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

Open rexkenley opened 2 years ago

rexkenley commented 2 years ago

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

javiermanzano commented 2 years ago

+1

ZachJW34 commented 1 year ago

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 commented 1 year ago

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.