Trouble getting started
rafpaf opened this issue · comments
I installed with npm install -g gitmoji-changelog
. In the top directory of my repo, I have a .gitmoji-changelog
file with this content:
{
"project": {
"name": "myproject",
"description": "my project",
"version": "1.0.0"
}
}
When I run gitmoji-changelog, I get Error: Cannot retrieve configuration for preset generic.
I must have forgot to do something, but I haven't been able to figure out what it is.
Hi @rafpaf,
Thank you for opening this issue. The configuration file must called .gitmoji-changelogrc
. Feel free to close this issue if it fixes your problem.
Hi @frinyvonnick, Thanks for catching that! It turns out the problem was that I hadn't run npm init
in my repository yet.
@rafpaf can I close this issue?