Skip to content

RipgrepExtractionFailedError: tar uknow option include #4247

Closed

Description

@iljabauer

Description

Running any command causes, for example opencode run hello --print-logs:
INFO 2025-11-12T12:43:01 +0ms service=session.prompt session=ses_587e8bda3ffe2sGjdo4JsEpSlK sessionID=ses_587e8bda3ffe2sGjdo4JsEpSlK unlocking
152 | stderr: "pipe",
153 | stdout: "pipe",
154 | })
155 | await proc.exited
156 | if (proc.exitCode !== 0)
157 | throw new ExtractionFailedError({
^
RipgrepExtractionFailedError: RipgrepExtractionFailedError
data: {
filepath: "/Users/ibauer/.local/share/opencode/bin/rg",
stderr: "tar: Unbekannte Option „--include=*/rg“\n„tar --help“ oder „tar --usage“ gibt weitere Informationen.\n",
},

  at <anonymous> (src/file/ripgrep.ts:157:17)

ERROR 2025-11-12T12:43:01 +35ms service=acp-command promise={} reason=RipgrepExtractionFailedError Unhandled rejection
ERROR 2025-11-12T12:43:01 +0ms service=default e=RipgrepExtractionFailedError rejection

OpenCode version

1.0.61

Steps to reproduce

  • Install opencode via npm
  • Added custom provider
  • run opencode run hello --print-logs`

Screenshot and/or share link

No response

Operating System

macos 26.1

Terminal

iTerm2, Ghosty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 12, 2025
  2. github-actions commented on Nov 12, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. self-assigned this
    on Nov 12, 2025
  4. rekram1-node commented on Nov 12, 2025

    @rekram1-node
    Contributor

    will fix

  5. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions