bug: file is damaged #2424

Closed
opened 2026-02-16 17:35:33 -05:00 by yindo · 3 comments
Owner

Originally created by @rekram1-node on GitHub (Oct 31, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Copied from discord but a user reported that 1.0.1 works but 1.0.2 caused a file is damaged

OpenCode version

v0.1.0.2

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Macos M4 chip

Terminal

No response

Originally created by @rekram1-node on GitHub (Oct 31, 2025). Originally assigned to: @thdxr on GitHub. ### Description Copied from discord but a user reported that 1.0.1 works but 1.0.2 caused a file is damaged ### OpenCode version v0.1.0.2 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="420" height="381" alt="Image" src="https://github.com/user-attachments/assets/235d39ca-582f-41c6-9870-7203128f73dd" /> ### Operating System Macos M4 chip ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:35:33 -05:00
yindo closed this issue 2026-02-16 17:35:33 -05:00
Author
Owner

@cro commented on GitHub (Oct 31, 2025):

1.0.3 also exhibits this behavior, though opencode upgrade upgraded from 1.0.2 to 1.0.3. I got this when I tried to start the updated one:

─❯ opencode upgrade

  █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
  █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
  ▀▀▀▀ █▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀ ▀▀▀▀ ▀▀▀  ▀▀▀

┌  Upgrade
│
●  Using method: curl
│
●  From 1.0.2 → 1.0.3
│
◇  Upgrade complete
│
└  Done

╰─❯ cd
╰─❯ which opencode
/Users/cro/.opencode/bin/opencode
╰─❯ opencode
ErrorEvent {
  type: "error",
  message: "BuildMessage: ModuleNotFound resolving \"/$bunfs/root/src/worker.ts\" (entry point)",
  error: null,
}
@cro commented on GitHub (Oct 31, 2025): 1.0.3 also exhibits this behavior, though `opencode upgrade` upgraded from 1.0.2 to 1.0.3. I got this when I tried to start the updated one: ``` ─❯ opencode upgrade █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀ █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀ ┌ Upgrade │ ● Using method: curl │ ● From 1.0.2 → 1.0.3 │ ◇ Upgrade complete │ └ Done ╰─❯ cd ╰─❯ which opencode /Users/cro/.opencode/bin/opencode ╰─❯ opencode ErrorEvent { type: "error", message: "BuildMessage: ModuleNotFound resolving \"/$bunfs/root/src/worker.ts\" (entry point)", error: null, } ```
Author
Owner

@rekram1-node commented on GitHub (Oct 31, 2025):

@cro yeah 1.0.3 had a bug try .4

@rekram1-node commented on GitHub (Oct 31, 2025): @cro yeah 1.0.3 had a bug try .4
Author
Owner

@cro commented on GitHub (Nov 3, 2025):

Zip downloads still don't seem to work, just checked with v1.0.15. The installer (curl -fsSL https://opencode.ai/install | bash) seems fine. Baffling since the installer basically does the same thing as a manual download.

@cro commented on GitHub (Nov 3, 2025): Zip downloads still don't seem to work, just checked with v1.0.15. The installer (curl -fsSL https://opencode.ai/install | bash) seems fine. Baffling since the installer basically does the same thing as a manual download.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2424