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
cz.prompt(...).then is not a function #20
Comments
This is because of an older global version of commitizen. A In this case the wire between the global module and the locally installed one should either be tightened or removed. |
@apinnecke is correct. This is 100% my fault although hopefully I can provide a bit of background: Inquirer.js went to 1.0.0 after being in 0.0 for a long time. I missed the breaking changes that were included. Typically my understanding is that when going from 0.0 to 1.0 you won't have any breaking changes from the last few 0.0 releases since you're indicating that your product is finally stable. This was a BAD assumption on my part. As it turns out there was very much a breaking change. Now that Inquirer is at 1.0.0, future breaking change releases (meaning going to 2.. or 3.. will be easier to spot). Nevertheless my apologies for introducing this issue. At this point the solution is to make sure you're on 2.8.1 of the commitizen cli or higher and the latest version of this adapter (1.1.6 or higher) and you should be ok. |
Could you try updating the path to |
@jimthedev this could be fixed with specify a |
Getting the following error on cz-conventional-changelog@1.1.6:
v1.1.5 appears to work as expected.
The text was updated successfully, but these errors were encountered: