You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] issue with @parcel/watcher in build(): error when installing via yay #3520
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.
Activity
github-actions commentedon Oct 29, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
DerekCorniello commentedon Oct 29, 2025
Yes, duplicate issue. An initial search did not find this unfortunately. Sorry for re-raising!
fudapeng commentedon Apr 21, 2026
OpenCode version
1.14.19
Operating System
Windows 11
Installation method
opencode-electron-win-x64.exe(Electron desktop app)Terminal
Windows PowerShell / CMD
Steps to reproduce
opencode-electron-win-x64.exeExpected behavior
App starts without errors; file watcher loads correctly; Windows paths handled as
file://URLs.Actual behavior
@parcel/watcher-win32-x64native module is missing from the asar bundleC:) not converted tofile://C:/for ESM loader