Package Details: opencode-desktop 1.18.18-1

Git Clone URL: https://aur.archlinux.org/opencode-desktop.git (read-only, click to copy)
Package Base: opencode-desktop
Description: OpenCode desktop app (built from source, runs on system electron42)
Upstream URL: https://github.com/anomalyco/opencode
Licenses: MIT
Conflicts: opencode-desktop-bin, opencode-desktop-electron, opencode-desktop-electron-bin
Replaces: opencode-desktop-electron
Submitter: bhyoo
Maintainer: bhyoo
Last Packager: bhyoo
Votes: 3
Popularity: 1.86
First Submitted: 2026-05-05 12:04 (UTC)
Last Updated: 2026-08-13 04:16 (UTC)

Dependencies (8)

Required by (0)

Sources (4)

Latest Comments

bhyoo commented on 2026-08-12 10:45 (UTC)

@miffe Thanks. node-gyp has been added to makedepends in pkgrel=2. I verified a clean bun install can find and run node-gyp, followed by the desktop build and native dependency rebuild. The existing _ebname='ai.opencode.desktop' fix remains included.

ISSOtm commented on 2026-08-06 14:50 (UTC)

If you get a FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory error while building this package, raise the max memory available to Node. For example: NODE_OPTIONS=--max-old-space-size=8192 makepkg (make 8 GiB available, up from the default of ~2 GiB on my machine).

miffe commented on 2026-07-23 07:07 (UTC)

Needs node-gyp in makedepends

==> Starting build()...
bun install v1.3.14-canary.1 (0d9b296a)
Resolving dependencies
Resolved, downloaded and extracted [537]
28 |       'rebuild'
29 |     ]
30 |     shell = false
31 |   } catch (_) {}
32 | 
33 |   proc.spawn(args[0], args.slice(1), { stdio: 'inherit', shell, windowsHide: true }).on('exit', function (code) {
            ^
error: Executable not found in $PATH: "node-gyp"
      path: "node-gyp",
     errno: -2,
   syscall: "spawn node-gyp",
 spawnargs: [ "rebuild" ],
      code: "ENOENT"

      at spawn (node:child_process:667:35)
      at spawn (node:child_process:14:39)
      at build (/build/opencode-desktop/src/opencode-desktop/node_modules/.bun/node-gyp-build@4.8.4/node_modules/node-gyp-build/bin.js:33:8)
      at preinstall (/build/opencode-desktop/src/opencode-desktop/node_modules/.bun/node-gyp-build@4.8.4/node_modules/node-gyp-build/bin.js:42:32)
      at <anonymous> (/build/opencode-desktop/src/opencode-desktop/node_modules/.bun/node-gyp-build@4.8.4/node_modules/node-gyp-build/bin.js:11:7)
      at exitHandler (node:child_process:109:27)
      at emit (node:events:98:22)
      at #maybeClose (node:child_process:766:16)
      at #handleOnExit (node:child_process:520:72)

Bun v1.3.14-canary.1+0d9b296af (Linux x64)

kulichgg commented on 2026-06-14 14:29 (UTC)

Need replace line 120 by " local _ebname='ai.opencode.desktop'"