Skip to content

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

@DerekCorniello

Description

@DerekCorniello

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions