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

fix: Unable to run npm install -D @commitlint/config-lerna-scopes with lerna v7 because of peerDeps #3630

Open
1 task done
jeremiah-clothier opened this issue Jul 26, 2023 · 1 comment

Comments

@jeremiah-clothier
Copy link

jeremiah-clothier commented Jul 26, 2023

Expected Behavior

I should be able to run the command npm install -D @commitlint/config-lerna-scopes without getting any errors

Current Behavior

I get an error when running the command npm install -D @commitlint/config-lerna-scopes

Screenshot 2023-07-25 at 9 06 43 PM

Affected packages

  • config-lerna-scopes

Possible Solution

Updating the field here https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/config-lerna-scopes/package.json#L30

Steps to Reproduce

1. Create a new project and run `npm install -D lerna`
2. Next add commit lint to the project and install more deps `npm install -D @commitlint/cli @commitlint/config-conventional @commitlint/config-lerna-scopes`

Context

No response

commitlint --version

@commitlint/cli@17.6.1

git --version

2.40.1

node --version

v18.15.0

@escapedcat
Copy link
Member

Updating lerna got stuck with #3539. I assume this would need to be solved and then support for v7 would need to be added. Happy with any support here.

@escapedcat escapedcat changed the title fix: Unable to run npm install -D@commitlint/config-lerna-scopes with lerna v7 because of peerDeps fix: Unable to run npm install -D @commitlint/config-lerna-scopes with lerna v7 because of peerDeps Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants