opencode icon indicating copy to clipboard operation
opencode copied to clipboard

When installing OpenCode in Debian on Termux, the first launch succeeds but the second fails.

Open ahov520 opened this issue 1 day ago • 1 comments

INFO 2026-01-18T08:34:51 +910ms service=server method=GET path=/event request INFO 2026-01-18T08:34:51 +2ms service=server status=started method=GET path=/event request INFO 2026-01-18T08:34:51 +8ms service=default directory=/root creating instance INFO 2026-01-18T08:34:51 +2ms service=project directory=/root fromDirectory INFO 2026-01-18T08:34:51 +6ms service=server method=GET path=/session request INFO 2026-01-18T08:34:51 +0ms service=server status=started method=GET path=/session request INFO 2026-01-18T08:34:51 +1ms service=server method=GET path=/config/providers request INFO 2026-01-18T08:34:51 +0ms service=server status=started method=GET path=/config/providers request INFO 2026-01-18T08:34:51 +1ms service=server method=GET path=/provider request INFO 2026-01-18T08:34:51 +0ms service=server status=started method=GET path=/provider request INFO 2026-01-18T08:34:51 +1ms service=server method=GET path=/agent request INFO 2026-01-18T08:34:51 +2ms service=server status=started method=GET path=/agent request INFO 2026-01-18T08:34:51 +2ms service=server method=GET path=/config request INFO 2026-01-18T08:34:51 +0ms service=server status=started method=GET path=/config request INFO 2026-01-18T08:34:51 +187ms service=default directory=/root bootstrapping INFO 2026-01-18T08:34:51 +55ms service=config path=/root/.config/opencode/config.json loading INFO 2026-01-18T08:34:51 +41ms service=config path=/root/.config/opencode/opencode.json loading INFO 2026-01-18T08:34:51 +5ms service=config path=/root/.config/opencode/opencode.jsonc loading INFO 2026-01-18T08:34:51 +83ms service=bun cmd=["/usr/local/lib/node_modules/opencode-ai/node_modules/opencode-linux-arm64/bin/opencode","add","@opencode-ai/[email protected]","--exact"] cwd=/root/.config/opencode running INFO 2026-01-18T08:34:51 +179ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)

installed @opencode-ai/[email protected]

[47.00ms] done stderr=Saved lockfile done INFO 2026-01-18T08:34:51 +0ms service=bun cmd=["/usr/local/lib/node_modules/opencode-ai/node_modules/opencode-linux-arm64/bin/opencode","install"] cwd=/root/.config/opencode running INFO 2026-01-18T08:34:51 +183ms service=plugin name=CodexAuthPlugin loading internal plugin INFO 2026-01-18T08:34:51 +2ms service=plugin [email protected] loading plugin INFO 2026-01-18T08:34:51 +30ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)

Checked 3 installs across 4 packages (no changes) [95.00ms] stderr= done INFO 2026-01-18T08:34:51 +0ms service=bun pkg=opencode-copilot-auth version=0.0.12 installing package using Bun's default registry resolution INFO 2026-01-18T08:34:51 +0ms service=bun cmd=["/usr/local/lib/node_modules/opencode-ai/node_modules/opencode-linux-arm64/bin/opencode","add","--force","--exact","--cwd","/root/.cache/opencode","[email protected]"] cwd=/root/.cache/opencode running INFO 2026-01-18T08:34:57 +5803ms service=bun code=1 stdout=bun add v1.3.5 (1e86cebd)

installed [email protected]

3 packages installed [5.68s] Failed to install 11 packages stderr=FileNotFound: failed copying files from cache to destination for package opencode-anthropic-auth FileNotFound: failed copying files from cache to destination for package @openauthjs/openauth FileNotFound: failed copying files from cache to destination for package @standard-schema/spec FileNotFound: failed copying files from cache to destination for package aws4fetch FileNotFound: failed copying files from cache to destination for package jose FileNotFound: failed copying files from cache to destination for package arctic FileNotFound: failed copying files from cache to destination for package hono FileNotFound: failed copying files from cache to destination for package @oslojs/crypto FileNotFound: failed copying files from cache to destination for package @oslojs/encoding FileNotFound: failed copying files from cache to destination for package @oslojs/asn1 FileNotFound: failed copying files from cache to destination for package @oslojs/binary Saved lockfile done ERROR 2026-01-18T08:34:57 +4ms service=plugin pkg=opencode-copilot-auth version=0.0.12 error=BunInstallFailedError failed to install builtin plugin INFO 2026-01-18T08:34:57 +2ms service=bus type=session.error publishing INFO 2026-01-18T08:34:57 +2ms service=plugin [email protected] loading plugin ERROR 2026-01-18T08:34:57 +41ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find module '/root/.cache/opencode/node_modules/opencode-anthropic-auth' from '/$bunfs/root/src/cli/cmd/tui/worker.js'","level":"error","specifier":"/root/.cache/opencode/node_modules/opencode-anthropic-auth","importKind":"import-statement","referrer":"/$bunfs/root/src/cli/cmd/tui/worker.js"} exception ERROR 2026-01-18T08:34:57 +4ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find module '/root/.cache/opencode/node_modules/opencode-anthropic-auth' from '/$bunfs/root/src/cli/cmd/tui/worker.js'","level":"error","specifier":"/root/.cache/opencode/node_modules/opencode-anthropic-auth","importKind":"import-statement","referrer":"/$bunfs/root/src/cli/cmd/tui/worker.js"} exception ERROR 2026-01-18T08:34:57 +0ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find module '/root/.cache/opencode/node_modules/opencode-anthropic-auth' from '/$bunfs/root/src/cli/cmd/tui/worker.js'","level":"error","specifier":"/root/.cache/opencode/node_modules/opencode-anthropic-auth","importKind":"import-statement","referrer":"/$bunfs/root/src/cli/cmd/tui/worker.js"} exception ERROR 2026-01-18T08:34:57 +1ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find module '/root/.cache/opencode/node_modules/opencode-anthropic-auth' from '/$bunfs/root/src/cli/cmd/tui/worker.js'","level":"error","specifier":"/root/.cache/opencode/node_modules/opencode-anthropic-auth","importKind":"import-statement","referrer":"/$bunfs/root/src/cli/cmd/tui/worker.js"} exception ERROR 2026-01-18T08:34:57 +0ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find module '/root/.cache/opencode/node_modules/opencode-anthropic-auth' from '/$bunfs/root/src/cli/cmd/tui/worker.js'","level":"error","specifier":"/root/.cache/opencode/node_modules/opencode-anthropic-auth","importKind":"import-statement","referrer":"/$bunfs/root/src/cli/cmd/tui/worker.js"} exception ERROR 2026-01-18T08:34:57 +0ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find module '/root/.cache/opencode/node_modules/opencode-anthropic-auth' from '/$bunfs/root/src/cli/cmd/tui/worker.js'","level":"error","specifier":"/root/.cache/opencode/node_modules/opencode-anthropic-auth","importKind":"import-statement","referrer":"/$bunfs/root/src/cli/cmd/tui/worker.js"} exception INFO 2026-01-18T08:35:00 +3040ms service=server method=GET path=/event request INFO 2026-01-18T08:35:00 +0ms service=server status=started method=GET path=/event request INFO 2026-01-18T08:35:06 +6003ms service=server method=GET path=/event request INFO 2026-01-18T08:35:06 +0ms service=server status=started method=GET path=/event request INFO 2026-01-18T08:35:18 +12004ms service=server method=GET path=/event request INFO 2026-01-18T08:35:18 +1ms service=server status=started method=GET path=/event request INFO 2026-01-18T08:35:42 +24013ms service=server method=GET path=/event request INFO 2026-01-18T08:35:42 +1ms service=server status=started method=GET path=/event request INFO 2026-01-18T08:36:12 +30002ms service=server method=GET path=/event request INFO 2026-01-18T08:36:12 +1ms service=server status=started method=GET path=/event request

ahov520 avatar Jan 18 '26 08:01 ahov520