commitlint icon indicating copy to clipboard operation
commitlint copied to clipboard

fix: @commitlint/config-nx-scopes does not support [email protected]

Open DavidVollmers opened this issue 9 months ago • 0 comments

Steps to Reproduce

1. Upgrade nx workspace to latest version using `nx migrate latest`
2. Run `npm install`

Current Behavior

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @commitlint/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/nx
npm ERR!   dev nx@"19.0.0" from the root project
npm ERR!   nx@"19.0.0" from @nrwl/[email protected]
npm ERR!   node_modules/@nrwl/tao
npm ERR!     @nrwl/tao@"19.0.0" from [email protected]
npm ERR!   2 more (@nx/devkit, @nx/workspace)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional nx@"^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" from @commitlint/[email protected]
npm ERR! node_modules/@commitlint/config-nx-scopes
npm ERR!   dev @commitlint/config-nx-scopes@"^19.3.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/nx
npm ERR!   peerOptional nx@"^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" from @commitlint/[email protected]
npm ERR!   node_modules/@commitlint/config-nx-scopes
npm ERR!     dev @commitlint/config-nx-scopes@"^19.3.0" from the root project

Expected Behavior

The @commitlint/config-nx-scopes package version 19.3.0 should support the latest nx version.

Affected packages

  • [ ] cli
  • [ ] core
  • [ ] prompt
  • [ ] config-angular

Possible Solution

No response

Context

No response

commitlint --version

@commitlint/[email protected]

git --version

git version 2.33.1.windows.1

node --version

v20.9.0

DavidVollmers avatar May 07 '24 05:05 DavidVollmers