-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Install error "TypeError: Cannot read property 'version' of null" #159
Comments
Thank you for reporting this issue @robbyrussell 🙏 This error is functionnal I need to improve error handling. The node preset returned |
@frinyvonnick Oh, I was about to test it out on Oh My Zsh, which does not have a package.json. https://github.com/ohmyzsh/ohmyzsh/ I suppose that's my bad for not understanding that it needed to be used on a Node-friendly project |
Not at all, this information is missing from the usage section. That's a good catch. |
@robbyrussell I fixed the error messages and created a generic preset. You can test it with the canary version. Here is how to use the generic preset:
npx gitmoji-changelog@canary --preset generic I tested it on ohmyzsh. It works 😄 I'll publish it as soon as possible. |
Thought I'd give this a whirl and hit a bug via npx version 6.4.1
I was able to install via npm, though. Thought I might report this should it pop up for others.
The text was updated successfully, but these errors were encountered: