[bug] issue with @parcel/watcher in build(): error when installing via yay #2320

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

Originally created by @DerekCorniello on GitHub (Oct 28, 2025).

Description

when running yay -S opencode, the installation does not finish due to the following error:

27 |       `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linu
           ^
error: Could not resolve: "@parcel/watcher-linux-x64-glibc". Maybe you need to "bun install"?
    at /home/derekcorn/.cache/yay/opencode/src/opencode-0.15.20/packages/opencode/src/file/watcher.ts:27:7
==> ERROR: A failure occurred in build().

OpenCode version

0.15.20

Steps to reproduce

running yay -S opencode on a system using yay will cause the above error.

Screenshot and/or share link

No response

Operating System

ArchLinux (6.17.5-arch1-1)

Terminal

Kitty

Originally created by @DerekCorniello on GitHub (Oct 28, 2025). ### Description when running `yay -S opencode`, the installation does not finish due to the following error: ```sh 27 | `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linu ^ error: Could not resolve: "@parcel/watcher-linux-x64-glibc". Maybe you need to "bun install"? at /home/derekcorn/.cache/yay/opencode/src/opencode-0.15.20/packages/opencode/src/file/watcher.ts:27:7 ==> ERROR: A failure occurred in build(). ``` ### OpenCode version 0.15.20 ### Steps to reproduce running `yay -S opencode` on a system using yay will cause the above error. ### Screenshot and/or share link _No response_ ### Operating System ArchLinux (6.17.5-arch1-1) ### Terminal Kitty
yindo added the bug label 2026-02-16 17:35:06 -05:00
yindo closed this issue 2026-02-16 17:35:06 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 2025):

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

  • #3282: Same @parcel/watcher-linux-x64-glibc resolution error when installing via yay on Arch Linux, same error location in watcher.ts:27:7, same build() failure

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

@github-actions[bot] commented on GitHub (Oct 28, 2025): This issue might be a duplicate of existing issues. Please check: - #3282: Same @parcel/watcher-linux-x64-glibc resolution error when installing via yay on Arch Linux, same error location in watcher.ts:27:7, same build() failure Feel free to ignore if none of these address your specific case.
Author
Owner

@DerekCorniello commented on GitHub (Oct 28, 2025):

Yes, duplicate issue. An initial search did not find this unfortunately. Sorry for re-raising!

@DerekCorniello commented on GitHub (Oct 28, 2025): Yes, duplicate issue. An initial search did not find this unfortunately. Sorry for re-raising!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2320