Skip to content

zsh: trace trap opencode #6988

Closed
Closed

Description

@navneetkarnani

Description

zsh in iTerm2 says:

====

zsh: trace trap opencode


opencode run hello --print-logs

=====
INFO 2026-01-05T20:02:13 +2ms service=plugin [email protected] loading plugin
ERROR 2026-01-05T20:02:13 +5ms service=default name=ResolveMessage message=Cannot find module '/Users/navneet/.cache/opencode/node_modules/opencode-copilot-auth' from '/$bunfs/root/src/index.js' code=ERR_MODULE_NOT_FOUND specifier=/Users/navneet/.cache/opencode/node_modules/opencode-copilot-auth referrer=/$bunfs/root/src/index.js importKind=import-statement fatal
Error: Unexpected error, check log file at for more details

error: Cannot find module '/Users/navneet/.cache/opencode/node_modules/opencode-copilot-auth' from '/$bunfs/root/src/index.js'

Plugins

No response

OpenCode version

1.1.2

Steps to reproduce

Install opencode using the bash and url. And run opencode from the cli.

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

iTerm2

Activity

  1. github-actions commented on Jan 5, 2026

    @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.

  2. imattdunbar commented on Jan 9, 2026

    @imattdunbar

    I had this happen too after deleting my cache for something and repeatedly got this error on startup.

    I don't know what the right fix is, but I was able to get back up and running by just deleting all the opencode related folders listed running opencode debug paths if anyone else gets stuck.

  3. thomasgauvin commented on Feb 24, 2026

    @thomasgauvin

    +1, also getting this, deleting opencode folder fixes but it's not a suitable fix

  4. ineslourencom commented on Jun 12, 2026

    @ineslourencom

    +1 for me

  5. Scott-McMullan-ABB commented on Jun 15, 2026

    @Scott-McMullan-ABB

    I had this happen too after deleting my cache for something and repeatedly got this error on startup.

    I don't know what the right fix is, but I was able to get back up and running by just deleting all the opencode related folders listed running opencode debug paths if anyone else gets stuck.

    +1

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