-
Notifications
You must be signed in to change notification settings - Fork 107
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
git-cz fails with "Cannot convert undefined or null to object" #227
Comments
can you please try
I merged a PR in |
I'm still seeing |
I just updated to the latest version and I'm not seeing this error anymore – thank you! |
I'm seeing this again on a fresh install of |
For testing, I dropped back to a previous version:
and it's working as expected. Looks like there may be a regression. |
Hit the same issue, multiple times with it disappearing and then resurfacing with different versions as well, made no sense. So, I started checking other things and found out that I also had Uninstalled commitizen and right now it's working. Just a theory, but maybe it's right. |
I have been following this discussion for a while and just wanted to fill in. I've had commitizen installed, and sometimes I've had this error. Maybe you are on to something @petermetz 👍
|
Yes, I’ve also been using |
Alright, then we are probably onto something. I'll head over to the commitizen repo and file a bug. It would be a breaking change for them to remove their alias (even if they agree to it) but at least we should discuss it. All this assuming of course that the root cause really is commitizen, but the circumstantial evidence definitely points in that direction. |
I also face the same problem as yours. Can you tell me you device OS, windows or macos? |
# [4.8.0](v4.7.6...v4.8.0) (2021-10-13) ### Bug Fixes * 🐛 give default value to prevent convert error ([c16df5d](c16df5d)), closes [#227](#227) * better support for workspaces ([215b6c3](215b6c3)) ### Features * 🎸 add "format" field to customize subject in commit msg [#81](#81) ([5e998cf](5e998cf)) * 🎸️ format (custom message) ([6f0c828](6f0c828))
🎉 This issue has been resolved in version 4.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thank you! |
I just migrated my personal site (repo, in case config is relevant) to a new machine.
git-cz
is failing with the following trace:I followed this back to
runInteractiveQuestions.js
.cliAnswers
is undefined, so,fails. I'm confused because in
cz.js
,runInteractiveQuestions
is called with a single argument. But this was passing before, so I'm sure I've made a simple configuration mistake.I'm stuck debugging this, so any advice is appreciated.
For what it's worth, I tested this on:
The text was updated successfully, but these errors were encountered: