Closed chrisjbrown closed 3 months ago
Can you share a minimal reproduction? Thanks!
actually my minimal reproduction doesn't have the same issue... i'll try and compare and see what my project is doing differently. will re-open if I can isolate the issue
For anyone else who sees this error.
For me the issue was somehow related to another dependency installing conventional-changelog-conventionalcommits
version < 8. Event though both a 7.x and an 8.x version were installed the preset loader function was always selecting the 7.x version resulting in this error. I wasn't able to recreate the issue as the reproduction I made would choose the 8.x version.
Not sure what causes one version to be selected over another. Explicitly adding conventional-changelog-conventionalcommits@8.x
within my projects dev dependencies has resolved the issue for me.
Describe the bug
I've tried using this package with all different settings. Including what is on the documentation page. But I always get this error.
ERROR whatBump is not a function
Seems like
whatBump
is a function in conventional-recommended-bump but that's about all I've been able to discern https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-recommended-bump#readmeReproduction
No response
System Info
Used Package Manager
pnpm
Validations