momocow / semantic-release-gitmoji

✨🐛💥 A semantic-release plugin for gitmojis. Different from conventional changelog, Gitmoji commits are used to determine a release type and generate release notes.
MIT License
91 stars 20 forks source link

[BUG] TypeError: Cannot read properties of undefined (reading 'semver') #57

Closed bryanjtc closed 1 year ago

bryanjtc commented 1 year ago

Upgrading to 1.6.0 throws the following error: image

dgilperez commented 1 year ago

I am having the same issue. Any workaround, aside the unmerged PR?

momocow commented 1 year ago

OK, it seems that it is not an edge case. I'll merge PR #58 first for those who may be disturbed by this issue, but you can still provide what emoji you were using when facing this error to help locating possible issue.

dgilperez commented 1 year ago

Thanks for that!

I am not sure which emoji failed in our case, the log wouldn't tell, but looking at the git log I see two we don't use often: :safety_vest: and :see_no_evil:. I am almost sure it is one of those.