Skip to content

[BUG] Instruction on cache clearing breaks OpenCode rendering #82

@rickyzhangca

Description

@rickyzhangca

Bug Description

the suggested command rm -rf ~/.cache/opencode/node_modules ~/.cache/opencode/bun.lock breaks opencode rendering in terminal

video: https://streamable.com/e2lfhp

I don't why github keeps giving failed to upload this video so there's the link

Steps to Reproduce

  1. use opencode
  2. do rm -rf ~/.cache/opencode/node_modules ~/.cache/opencode/bun.lock
  3. reload terminal and opencode

Expected Behavior

clear entire cache, it fixes the issue

Actual Behavior
What actually happens.

Environment

  • opencode version: 1.0.204
  • Plugin version: latest
  • Operating System: MacOS 26
  • Node.js version: v22.16.0

Logs

see video above

Compliance Checklist
Please confirm:

  • I'm using this plugin for personal development only
  • I have an active ChatGPT Plus/Pro subscription
  • This issue is not related to attempting commercial use or TOS violations
  • I've reviewed the FAQ and Troubleshooting sections

Additional Context
Add any other relevant information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions