opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Opencode blanks terminal after version v1.0.214 with npm

Open Polo123456789 opened this issue 11 months ago • 7 comments

Description

When running opencode the terminal turns completely blank, and can't be closed.

OpenCode version

v1.0.214 and v1.0.215

Steps to reproduce

  1. Install opencode version v1.0.214 or v1.0.215 (Latest at the time of the issue)
  2. Run open code

Screenshot and/or share link

Im attaching a video, not sure if there are logs or something else I could share that could make this more usefull

https://github.com/user-attachments/assets/e38cfa14-83cf-4d23-b8df-866a6aeeabc2

Operating System

Arch Linux

Terminal

Kitty

Polo123456789 avatar Dec 30 '25 18:12 Polo123456789

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

  • #5671: After my pc restarted today when I run opencode, the terminal is blank (closed - similar symptom on Linux)
  • #4140: black screen when using >1.0.46 (macOS - blank screen after upgrade)
  • #6057: Nothing is displayed (Windows - similar blank screen issue)
  • #3776: Screen becomes completely blank (Mac - screen blanking after v1.0.12)

These issues share similar symptoms with v1.0+ (opentui) changes. Feel free to ignore if your specific case differs.

github-actions[bot] avatar Dec 30 '25 19:12 github-actions[bot]

Running from source with bun I have no problems, so maybe its something specific with npm?

Polo123456789 avatar Dec 30 '25 19:12 Polo123456789

Maybe show output of:

opencode run hello --print-logs

rekram1-node avatar Dec 30 '25 19:12 rekram1-node

My computer probably was having a stroke, it fixed itself now, no clue why. Sorry to bother

Polo123456789 avatar Dec 31 '25 01:12 Polo123456789

@rlifberg

Have you tried to reboot?

A werid behaviour that I had was when killing the process, it did show the stuff on screen, do you also experience that?

Polo123456789 avatar Jan 14 '26 18:01 Polo123456789

I was having this same issue, and it got solves automatically as well for me.... 🤔

khaled4vokalz avatar Mar 05 '26 09:03 khaled4vokalz

I had the same problem, i had to remove the opencode.db and it started working, look like it was corrupted.

pedrof avatar Aug 02 '26 21:08 pedrof