Skip to content
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

Command failed with exit code 127 #190

Open
oyedejioyewole opened this issue Apr 26, 2024 · 0 comments
Open

Command failed with exit code 127 #190

oyedejioyewole opened this issue Apr 26, 2024 · 0 comments

Comments

@oyedejioyewole
Copy link

Environment

Package version: ^0.5.5
Node version: 21.7.3

and my repository is a monorepo

Reproduction

The only way to reproduce this is to use GitButler on a repository and run

changelogen --bump

Describe the bug

[email protected] release:patch /home/oyedejioyewole/Workspaces/published/nuxt-bootstrap-icons
changelogen --patch --output docs/content/release-notes.md --publish

ℹ Generating changelog for v2.0.0...gitbutler/integration 12:04:50 AM

[12:04:51 AM] ERROR Command failed with exit code 127: git --no-pager log v2.0.0...gitbutler/integration --pretty="----%n%s|%h|%an|%ae%n%b" --name-status
/home/oyedejioyewole/.local/bin/git: 1: eval: %h: not found
/home/oyedejioyewole/.local/bin/git: 1: eval: %ae%n%b": not found
/home/oyedejioyewole/.local/bin/git: 1: eval: %an: not found

/home/oyedejioyewole/.local/bin/git: 1: eval: %h: not found
/home/oyedejioyewole/.local/bin/git: 1: eval: %ae%n%b": not found
/home/oyedejioyewole/.local/bin/git: 1: eval: %an: not found
at makeError (node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11)
at handlePromise (node_modules/.pnpm/[email protected]/node_modules/execa/index.js:124:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async execCommand (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/shared/changelogen.b98c84ee.mjs:14:15)
at async getGitDiff (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/shared/changelogen.b98c84ee.mjs:43:13)
at async Module.defaultMain (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/chunks/default.mjs:39:22)
at async main (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/cli.mjs:22:3)

Additional context

When running git --no-pager log v2.0.0...gitbutler/integration --pretty="----%n%s|%h|%an|%ae%n%b" --name-status, it works normally

Logs

> [email protected] release:patch /home/oyedejioyewole/Workspaces/published/nuxt-bootstrap-icons
> changelogen --patch --output docs/content/release-notes.md --publish

ℹ Generating changelog for v2.0.0...gitbutler/integration                                                   12:04:50 AM

[12:04:51 AM]  ERROR  Command failed with exit code 127: git --no-pager log v2.0.0...gitbutler/integration --pretty="----%n%s|%h|%an|%ae%n%b" --name-status
/home/oyedejioyewole/.local/bin/git: 1: eval: %h: not found
/home/oyedejioyewole/.local/bin/git: 1: eval: %ae%n%b": not found
/home/oyedejioyewole/.local/bin/git: 1: eval: %an: not found

  /home/oyedejioyewole/.local/bin/git: 1: eval: %h: not found
  /home/oyedejioyewole/.local/bin/git: 1: eval: %ae%n%b": not found
  /home/oyedejioyewole/.local/bin/git: 1: eval: %an: not found
  at makeError (node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11)
  at handlePromise (node_modules/.pnpm/[email protected]/node_modules/execa/index.js:124:26)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async execCommand (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/shared/changelogen.b98c84ee.mjs:14:15)
  at async getGitDiff (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/shared/changelogen.b98c84ee.mjs:43:13)
  at async Module.defaultMain (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/chunks/default.mjs:39:22)
  at async main (node_modules/.pnpm/[email protected]/node_modules/changelogen/dist/cli.mjs:22:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant