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

docs: Update cz-commitlint install command #3955

Merged
merged 1 commit into from Mar 6, 2024

Conversation

gin0606
Copy link
Contributor

@gin0606 gin0606 commented Mar 6, 2024

Description

The inquirer version of peerDependencies has been updated in 3423735

Motivation and Context

The command before the change will cause an error in the latest version.

npm install --save-dev @commitlint/cz-commitlint commitizen inquirer@8
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: inquirer@8.2.6
npm ERR! node_modules/inquirer
npm ERR!   dev inquirer@"8" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer inquirer@"^9.0.0" from @commitlint/cz-commitlint@19.0.3
npm ERR! node_modules/@commitlint/cz-commitlint
npm ERR!   dev @commitlint/cz-commitlint@"*" 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! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /Users/gin0606/.npm/_logs/2024-03-06T05_04_10_109Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/gin0606/.npm/_logs/2024-03-06T05_04_10_109Z-debug-0.log

Usage examples

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

The inquirer version of peerDependencies has been updated in conventional-changelog@3423735
Copy link

codesandbox-ci bot commented Mar 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@escapedcat
Copy link
Member

Thanks!

@escapedcat escapedcat merged commit 84e8632 into conventional-changelog:master Mar 6, 2024
7 checks passed
@gin0606 gin0606 deleted the patch-1 branch March 7, 2024 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants