gitmoji-changelog icon indicating copy to clipboard operation
gitmoji-changelog copied to clipboard

Error: Cannot retrieve configuration for preset node

Open ash-development opened this issue 1 year ago • 2 comments
trafficstars

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 avatar Aug 16 '24 15:08 ash-development

the presets do exist which is why im very confused Screenshot 2024-08-16 at 11 23 47 AM

ash-development avatar Aug 16 '24 15:08 ash-development

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 [email protected] --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 [email protected]
/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

ash-development avatar Aug 16 '24 15:08 ash-development