-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello, i've just installed your project (very cool idea btw) and i've tried to install opencode via the webserver and it failed with this log message:
0 verbose cli /data/data/com.termux/files/usr/bin/node /data/data/com.termux/files/usr/bin/npm
1 info using npm@11.11.0
2 info using node@v25.3.0
3 silly config load:file:/data/data/com.termux/files/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/data/data/com.termux/files/home/.npmrc
5 silly config load:file:/data/data/com.termux/files/usr/etc/npmrc
6 verbose title npm install opencode-ai
7 verbose argv "install" "--global" "opencode-ai"
8 verbose logfile logs-max:10 dir:/data/data/com.termux/files/home/.npm/_logs/2026-03-05T17_10_15_711Z-
9 verbose logfile /data/data/com.termux/files/home/.npm/_logs/2026-03-05T17_10_15_711Z-debug-0.log
10 silly packumentCache heap:1174405120 maxSize:293601280 maxEntrySize:146800640
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly idealTree buildDeps
14 silly fetch manifest opencode-ai@*
15 silly packumentCache full:https://registry.npmjs.org/opencode-ai cache-miss
16 http cache https://registry.npmjs.org/opencode-ai 194ms (cache hit)
17 silly packumentCache full:https://registry.npmjs.org/opencode-ai set size:11313977 disposed:false
18 silly placeDep ROOT opencode-ai@1.2.17 OK for: want: *
19 silly fetch manifest opencode-linux-x64@1.2.17
20 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64 cache-miss
21 silly fetch manifest opencode-darwin-x64@1.2.17
22 silly packumentCache full:https://registry.npmjs.org/opencode-darwin-x64 cache-miss
23 silly fetch manifest opencode-linux-arm64@1.2.17
24 silly packumentCache full:https://registry.npmjs.org/opencode-linux-arm64 cache-miss
25 http cache https://registry.npmjs.org/opencode-linux-arm64 136ms (cache hit)
26 silly packumentCache full:https://registry.npmjs.org/opencode-linux-arm64 set size:8444850 disposed:false
27 silly fetch manifest opencode-windows-x64@1.2.17
28 silly packumentCache full:https://registry.npmjs.org/opencode-windows-x64 cache-miss
29 http cache https://registry.npmjs.org/opencode-darwin-x64 463ms (cache hit)
30 silly packumentCache full:https://registry.npmjs.org/opencode-darwin-x64 set size:8372226 disposed:false
31 silly fetch manifest opencode-darwin-arm64@1.2.17
32 silly packumentCache full:https://registry.npmjs.org/opencode-darwin-arm64 cache-miss
33 http cache https://registry.npmjs.org/opencode-linux-x64 857ms (cache hit)
34 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64 set size:8343950 disposed:false
35 silly fetch manifest opencode-linux-x64-musl@1.2.17
36 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64-musl cache-miss
37 http cache https://registry.npmjs.org/opencode-linux-x64-musl 69ms (cache hit)
38 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64-musl set size:5270695 disposed:false
39 silly fetch manifest opencode-linux-arm64-musl@1.2.17
40 silly packumentCache full:https://registry.npmjs.org/opencode-linux-arm64-musl cache-miss
41 http cache https://registry.npmjs.org/opencode-darwin-arm64 696ms (cache hit)
42 silly packumentCache full:https://registry.npmjs.org/opencode-darwin-arm64 set size:8452455 disposed:false
43 silly fetch manifest opencode-linux-x64-baseline@1.2.17
44 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64-baseline cache-miss
45 http cache https://registry.npmjs.org/opencode-windows-x64 1403ms (cache hit)
46 silly packumentCache full:https://registry.npmjs.org/opencode-windows-x64 set size:8096222 disposed:false
47 silly fetch manifest opencode-darwin-x64-baseline@1.2.17
48 silly packumentCache full:https://registry.npmjs.org/opencode-darwin-x64-baseline cache-miss
49 http cache https://registry.npmjs.org/opencode-linux-arm64-musl 814ms (cache hit)
50 silly packumentCache full:https://registry.npmjs.org/opencode-linux-arm64-musl set size:5331387 disposed:false
51 silly fetch manifest opencode-windows-x64-baseline@1.2.17
52 silly packumentCache full:https://registry.npmjs.org/opencode-windows-x64-baseline cache-miss
53 http cache https://registry.npmjs.org/opencode-linux-x64-baseline 756ms (cache hit)
54 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64-baseline set size:7294084 disposed:false
55 silly fetch manifest opencode-linux-x64-baseline-musl@1.2.17
56 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64-baseline-musl cache-miss
57 http cache https://registry.npmjs.org/opencode-darwin-x64-baseline 680ms (cache hit)
58 silly packumentCache full:https://registry.npmjs.org/opencode-darwin-x64-baseline set size:7043657 disposed:false
59 http cache https://registry.npmjs.org/opencode-windows-x64-baseline 653ms (cache hit)
60 silly packumentCache full:https://registry.npmjs.org/opencode-windows-x64-baseline set size:5417873 disposed:false
61 http cache https://registry.npmjs.org/opencode-linux-x64-baseline-musl 616ms (cache hit)
62 silly packumentCache full:https://registry.npmjs.org/opencode-linux-x64-baseline-musl set size:5505718 disposed:false
63 silly placeDep node_modules/opencode-ai opencode-darwin-arm64@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
64 silly placeDep node_modules/opencode-ai opencode-darwin-x64@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
65 silly placeDep node_modules/opencode-ai opencode-darwin-x64-baseline@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
66 silly placeDep node_modules/opencode-ai opencode-linux-arm64@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
67 silly placeDep node_modules/opencode-ai opencode-linux-arm64-musl@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
68 silly placeDep node_modules/opencode-ai opencode-linux-x64@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
69 silly placeDep node_modules/opencode-ai opencode-linux-x64-baseline@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
70 silly placeDep node_modules/opencode-ai opencode-linux-x64-baseline-musl@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
71 silly placeDep node_modules/opencode-ai opencode-linux-x64-musl@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
72 silly placeDep node_modules/opencode-ai opencode-windows-x64@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
73 silly placeDep node_modules/opencode-ai opencode-windows-x64-baseline@1.2.17 OK for: opencode-ai@1.2.17 want: 1.2.17
74 silly reify moves {}
75 http cache opencode-ai@https://registry.npmjs.org/opencode-ai/-/opencode-ai-1.2.17.tgz 0ms (cache hit)
76 info run opencode-ai@1.2.17 postinstall node_modules/opencode-ai bun ./postinstall.mjs || node ./postinstall.mjs
77 info run opencode-ai@1.2.17 postinstall { code: 1, signal: null }
78 verbose stack Error: command failed
78 verbose stack at promiseSpawn (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
78 verbose stack at spawnWithShell (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
78 verbose stack at promiseSpawn (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
78 verbose stack at runScriptPkg (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:79:13)
78 verbose stack at runScript (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
78 verbose stack at /data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:327:17
78 verbose stack at run (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
78 verbose stack at /data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
78 verbose stack at new Promise (<anonymous>)
78 verbose stack at callLimit (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
79 verbose pkgid opencode-ai@1.2.17
80 error code 1
81 error path /data/data/com.termux/files/usr/lib/node_modules/opencode-ai
82 error command failed
83 error command sh -c bun ./postinstall.mjs || node ./postinstall.mjs
84 silly unfinished npm timer reify 1772730617166
85 silly unfinished npm timer reify:build 1772730621536
86 silly unfinished npm timer build 1772730621537
87 silly unfinished npm timer build:deps 1772730621538
88 silly unfinished npm timer build:run:postinstall 1772730621546
89 silly unfinished npm timer build:run:postinstall:node_modules/opencode-ai 1772730621547
90 verbose cwd /data/data/com.termux/files/home/nomacode
91 verbose os Linux 6.1.138-android14-11
92 verbose node v25.3.0
93 verbose npm v11.11.0
94 verbose exit 1
95 verbose code 1
96 error A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/_logs/2026-03-05T17_10_15_711Z-debug-0.log
It looks like i don’t have bun package installed on my Termux. But it should be great if you can add the correct checks to install every packages needed for you tools to work!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels