frinyvonnick / gitmoji-changelog

A changelog generator for gitmoji 😜
https://www.npmjs.com/package/gitmoji-changelog
MIT License
388 stars 49 forks source link

Error: Cannot retrieve configuration for preset node #272

Open ash-development opened 3 weeks ago

ash-development commented 3 weeks ago
npx gitmoji-changelog --preset maven
▶  start     gitmoji-changelog v2.3.0
ℹ  info      update ./CHANGELOG.md
ℹ  info      No custom configuration found
ℹ  info      use preset maven
✖  error     Error: Cannot retrieve configuration for preset maven.
    at main (/opt/homebrew/lib/node_modules/gitmoji-changelog/src/cli.js:58:13)

only thing i did was install via the wiki

ash-development commented 3 weeks ago

the presets do exist which is why im very confused

Screenshot 2024-08-16 at 11 23 47 AM
ash-development commented 3 weeks ago

this is also happening when trying to run it via a github action on linux

Run sercanuste/gitmoji-changelog-action@v1
/usr/local/bin/npm i -g gitmoji-changelog@2.3.0 --silent
/usr/local/bin/gitmoji-changelog --format markdown --preset maven
▶  start     gitmoji-changelog v2.3.0
ℹ  info      update ./CHANGELOG.md
ℹ  info      No custom configuration found
ℹ  info      use preset maven
✖  error     Error: Cannot retrieve configuration for preset maven. 
    at main (/usr/local/lib/node_modules/gitmoji-changelog/src/cli.js:58:13)
/usr/bin/git add .
/usr/bin/git config --global user.email 114694492+gitmoji-changelog-bot@users.noreply.github.com
/usr/bin/git config --global user.name Gitmoji Changelog Bot
/usr/bin/git commit -m 📝 Update CHANGELOG
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
Error: The process '/usr/bin/git' failed with exit code 1