Skip to content

pnpm install causes crash #4458

@agladysh

Description

@agladysh

Description

$ opencode
/home/agladysh/. local/share/pnpm/global/5/-pnpm/opencode-linux-arm64@1.0.72/node_modules/opencode-linux-ar
m64/bin/opencode: 1
ELF
SyntaxError: Invalid or unexpected token
at wrapSafe (node: internal/modules/cjs/loader: 1378:20)
at Module._compile (node: internal/modules/cjs/loader: 1428:41)
at Module,_extensions..js (node: internal/modules/cjs/loader: 1548:10)
at Module. load (node: internal/modules/cjs/loader: 1288:32) at Module._load (node: internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12)
at node: internal/main/run_main_module: 28:49
Node-js v20.18.1
$ uname -a
Linux THAI-1 6.17.4-orbstack-00308-g195e9689a04f #1 SMP PREEMPT Fri Oct 24
64 aarch64 GNU/Linux
07:22:34 UTC 2025 aarch64 aarch
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:
Ubuntu
25.04
Release:
25.04
Codename:
plucky
$ pnpm --version
10.20.0

OpenCode version

1.0.72

Steps to reproduce

  1. Install Ubuntu 25.04 server VM (Host is OS X 15.6, OrbStack 2.0.4), install nodejs, npm, pnpm via npm.
  2. pnpm i -g opencode-ai
  3. pnpm approve-builds -g, select and approve opencode
  4. Launching opencode leads to crash

Screenshot and/or share link

No response

Operating System

Ubuntu 25.04 (VM in the OS X 15.6 host)

Terminal

Stock OS X Terminal.app

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions