Skip to content

tree-sitter C++20 requirements with node 24 and missing prebuilds #268

Description

@eighty4

Here are some errors I had when trying to install and use node-tree-sitter.

One of them is from trying to build tree-sitter with C++17 during the postinstall script and this error (the bottom one) went away when I switched to node 22, and then I could install tree-sitter with node 22 or node 24 I'm assuming because it built something and put it somewhere so the postinstall script doesn't have to run again, even if I'm using node 24 (which doesn't support C++17).

The top error is when running a basic script that creates a new parser and seems to be unable to find what was built when installing tree-sitter@0.25.0 with node 22. I see that prebuilds used to be included with previous versions of tree-sitter package on npm and all the issues seem to have been closed without any resolution, guidance, etc.

Do the Node bindings no longer ship prebuilds because it's expected to be built on postinstall? If so, where does this get installed and why does the postinstall no longer error on C++17 if I switch back to node 24?

Node 24 was released almost a year ago so I'm not sure if node-tree-sitter is a gimped channel of support for tree-sitter or whether I should be using wasm for both web and node environments?

/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/.pnpm/node-gyp-build@4.8.4/node_modules/node-gyp-build/node-gyp-build.js:60
  throw new Error('No native build was found for ' + target + '\n    loaded from: ' + dir + '\n')
        ^

Error: No native build was found for platform=darwin arch=x64 runtime=node abi=127 uv=1 libc=glibc node=22.13.1
    loaded from: /Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/.pnpm/tree-sitter@0.25.0/node_modules/tree-sitter

    at load.resolve.load.path (/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/.pnpm/node-gyp-build@4.8.4/node_modules/node-gyp-build/node-gyp-build.js:60:9)
    at load (/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/.pnpm/node-gyp-build@4.8.4/node_modules/node-gyp-build/node-gyp-build.js:22:30)
    at Object.<anonymous> (/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/.pnpm/tree-sitter@0.25.0/node_modules/tree-sitter/index.js:4:30)
    at Module._compile (node:internal/modules/cjs/loader:1562:14)
    at Object..js (node:internal/modules/cjs/loader:1699:10)
    at Module.load (node:internal/modules/cjs/loader:1313:32)
    at Function._load (node:internal/modules/cjs/loader:1123:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at cjsLoader (node:internal/modules/esm/translators:263:5)

Node.js v22.13.1
0 verbose cli /Users/adam/.nvm/versions/node/v24.3.0/bin/node /Users/adam/.nvm/versions/node/v24.3.0/bin/npm
1 info using npm@11.4.2
2 info using node@v24.3.0
3 silly config load:file:/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/npmrc
4 silly config load:file:/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/.npmrc
5 silly config load:file:/Users/adam/.npmrc
6 silly config load:file:/Users/adam/.nvm/versions/node/v24.3.0/etc/npmrc
7 verbose title npm i tree-sitter-bash
8 verbose argv "i" "tree-sitter-bash"
9 verbose logfile logs-max:10 dir:/Users/adam/.npm/_logs/2026-01-12T16_16_08_988Z-
10 verbose logfile /Users/adam/.npm/_logs/2026-01-12T16_16_08_988Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly packumentCache heap:4496293888 maxSize:1124073472 maxEntrySize:562036736
13 silly logfile done cleaning log files
14 silly idealTree buildDeps
15 silly fetch manifest tree-sitter-bash@*
16 silly packumentCache full:https://registry.npmjs.org/tree-sitter-bash cache-miss
17 http fetch GET 200 https://registry.npmjs.org/tree-sitter-bash 181ms (cache miss)
18 silly packumentCache full:https://registry.npmjs.org/tree-sitter-bash set size:undefined disposed:false
19 silly fetch manifest tree-sitter@^0.25.0
20 silly packumentCache full:https://registry.npmjs.org/tree-sitter cache-miss
21 http fetch GET 200 https://registry.npmjs.org/tree-sitter 66ms (cache miss)
22 silly packumentCache full:https://registry.npmjs.org/tree-sitter set size:undefined disposed:false
23 silly placeDep ROOT tree-sitter-bash@0.25.1 OK for: learn-treesitter@1.0.0 want: *
24 silly fetch manifest node-addon-api@^8.2.1
25 silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-miss
26 silly fetch manifest node-gyp-build@^4.8.2
27 silly packumentCache full:https://registry.npmjs.org/node-gyp-build cache-miss
28 http fetch GET 200 https://registry.npmjs.org/node-gyp-build 34ms (cache miss)
29 silly packumentCache full:https://registry.npmjs.org/node-gyp-build set size:undefined disposed:false
30 http fetch GET 200 https://registry.npmjs.org/node-addon-api 137ms (cache miss)
31 silly packumentCache full:https://registry.npmjs.org/node-addon-api set size:undefined disposed:false
32 silly placeDep ROOT node-addon-api@8.5.0 OK for: tree-sitter-bash@0.25.1 want: ^8.2.1
33 silly placeDep ROOT node-gyp-build@4.8.4 OK for: tree-sitter-bash@0.25.1 want: ^4.8.2
34 silly fetch manifest @types/node@^22.10.2
35 silly packumentCache full:https://registry.npmjs.org/@types%2fnode cache-miss
36 http fetch GET 200 https://registry.npmjs.org/@types%2fnode 235ms (cache updated)
37 silly packumentCache full:https://registry.npmjs.org/@types%2fnode set size:undefined disposed:false
38 silly fetch manifest @types/tmp@^0.2.6
39 silly packumentCache full:https://registry.npmjs.org/@types%2ftmp cache-miss
40 http fetch GET 200 https://registry.npmjs.org/@types%2ftmp 61ms (cache miss)
41 silly packumentCache full:https://registry.npmjs.org/@types%2ftmp set size:undefined disposed:false
42 silly fetch manifest glob@^11.0.0
43 silly packumentCache full:https://registry.npmjs.org/glob cache-miss
44 http fetch GET 200 https://registry.npmjs.org/glob 37ms (cache updated)
45 silly packumentCache full:https://registry.npmjs.org/glob set size:undefined disposed:false
46 silly fetch manifest node-gyp@^11.0.0
47 silly packumentCache full:https://registry.npmjs.org/node-gyp cache-miss
48 http fetch GET 200 https://registry.npmjs.org/node-gyp 44ms (cache miss)
49 silly packumentCache full:https://registry.npmjs.org/node-gyp set size:undefined disposed:false
50 silly fetch manifest prebuildify@^6.0.1
51 silly packumentCache full:https://registry.npmjs.org/prebuildify cache-miss
52 http fetch GET 200 https://registry.npmjs.org/prebuildify 106ms (cache miss)
53 silly packumentCache full:https://registry.npmjs.org/prebuildify set size:undefined disposed:false
54 silly fetch manifest tmp@^0.2.3
55 silly packumentCache full:https://registry.npmjs.org/tmp cache-miss
56 http fetch GET 200 https://registry.npmjs.org/tmp 61ms (cache updated)
57 silly packumentCache full:https://registry.npmjs.org/tmp set size:undefined disposed:false
58 silly fetch manifest tree-sitter-c@^0.23.4
59 silly packumentCache full:https://registry.npmjs.org/tree-sitter-c cache-miss
60 http fetch GET 200 https://registry.npmjs.org/tree-sitter-c 100ms (cache miss)
61 silly packumentCache full:https://registry.npmjs.org/tree-sitter-c set size:undefined disposed:false
62 silly fetch manifest tree-sitter@^0.22.1
63 silly packumentCache full:https://registry.npmjs.org/tree-sitter cache-miss
64 http cache https://registry.npmjs.org/tree-sitter 5ms (cache hit)
65 silly packumentCache full:https://registry.npmjs.org/tree-sitter set size:435725 disposed:false
66 silly fetch manifest tree-sitter-embedded-template@^0.23.2
67 silly packumentCache full:https://registry.npmjs.org/tree-sitter-embedded-template cache-miss
68 http fetch GET 200 https://registry.npmjs.org/tree-sitter-embedded-template 154ms (cache miss)
69 silly packumentCache full:https://registry.npmjs.org/tree-sitter-embedded-template set size:undefined disposed:false
70 silly fetch manifest tree-sitter@^0.21.1
71 silly packumentCache full:https://registry.npmjs.org/tree-sitter cache-hit
72 silly fetch manifest tree-sitter-html@^0.23.2
73 silly packumentCache full:https://registry.npmjs.org/tree-sitter-html cache-miss
74 http fetch GET 200 https://registry.npmjs.org/tree-sitter-html 89ms (cache miss)
75 silly packumentCache full:https://registry.npmjs.org/tree-sitter-html set size:undefined disposed:false
76 silly fetch manifest tree-sitter-java@^0.23.5
77 silly packumentCache full:https://registry.npmjs.org/tree-sitter-java cache-miss
78 http fetch GET 200 https://registry.npmjs.org/tree-sitter-java 94ms (cache miss)
79 silly packumentCache full:https://registry.npmjs.org/tree-sitter-java set size:undefined disposed:false
80 silly fetch manifest tree-sitter-javascript@^0.23.1
81 silly packumentCache full:https://registry.npmjs.org/tree-sitter-javascript cache-miss
82 http fetch GET 200 https://registry.npmjs.org/tree-sitter-javascript 96ms (cache miss)
83 silly packumentCache full:https://registry.npmjs.org/tree-sitter-javascript set size:undefined disposed:false
84 silly fetch manifest tree-sitter-json@^0.24.8
85 silly packumentCache full:https://registry.npmjs.org/tree-sitter-json cache-miss
86 http fetch GET 200 https://registry.npmjs.org/tree-sitter-json 58ms (cache miss)
87 silly packumentCache full:https://registry.npmjs.org/tree-sitter-json set size:undefined disposed:false
88 silly fetch manifest tree-sitter-python@^0.23.6
89 silly packumentCache full:https://registry.npmjs.org/tree-sitter-python cache-miss
90 http fetch GET 200 https://registry.npmjs.org/tree-sitter-python 111ms (cache miss)
91 silly packumentCache full:https://registry.npmjs.org/tree-sitter-python set size:undefined disposed:false
92 silly fetch manifest tree-sitter-ruby@^0.23.1
93 silly packumentCache full:https://registry.npmjs.org/tree-sitter-ruby cache-miss
94 http fetch GET 200 https://registry.npmjs.org/tree-sitter-ruby 152ms (cache miss)
95 silly packumentCache full:https://registry.npmjs.org/tree-sitter-ruby set size:undefined disposed:false
96 silly fetch manifest tree-sitter-rust@^0.23.2
97 silly packumentCache full:https://registry.npmjs.org/tree-sitter-rust cache-miss
98 http fetch GET 200 https://registry.npmjs.org/tree-sitter-rust 89ms (cache miss)
99 silly packumentCache full:https://registry.npmjs.org/tree-sitter-rust set size:undefined disposed:false
100 silly fetch manifest typedoc@^0.27.6
101 silly packumentCache full:https://registry.npmjs.org/typedoc cache-miss
102 http fetch GET 200 https://registry.npmjs.org/typedoc 45ms (cache miss)
103 silly packumentCache full:https://registry.npmjs.org/typedoc set size:undefined disposed:false
104 silly fetch manifest typescript@5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x
105 silly packumentCache full:https://registry.npmjs.org/typescript cache-miss
106 http fetch GET 200 https://registry.npmjs.org/typescript 325ms (cache updated)
107 silly packumentCache full:https://registry.npmjs.org/typescript set size:undefined disposed:false
108 silly fetch manifest typedoc-plugin-rename-defaults@^0.7.2
109 silly packumentCache full:https://registry.npmjs.org/typedoc-plugin-rename-defaults cache-miss
110 http fetch GET 200 https://registry.npmjs.org/typedoc-plugin-rename-defaults 135ms (cache miss)
111 silly packumentCache full:https://registry.npmjs.org/typedoc-plugin-rename-defaults set size:undefined disposed:false
112 silly fetch manifest typedoc@>=0.22.x <0.29.x
113 silly packumentCache full:https://registry.npmjs.org/typedoc cache-miss
114 http cache https://registry.npmjs.org/typedoc 6ms (cache hit)
115 silly packumentCache full:https://registry.npmjs.org/typedoc set size:1299772 disposed:false
116 silly fetch manifest typescript@5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x
117 silly packumentCache full:https://registry.npmjs.org/typescript cache-miss
118 http cache https://registry.npmjs.org/typescript 36ms (cache hit)
119 silly packumentCache full:https://registry.npmjs.org/typescript set size:15118333 disposed:false
120 silly fetch manifest typescript@^5.7.2
121 silly packumentCache full:https://registry.npmjs.org/typescript cache-miss
122 http cache https://registry.npmjs.org/typescript 29ms (cache hit)
123 silly packumentCache full:https://registry.npmjs.org/typescript set size:15118333 disposed:false
124 silly placeDep ROOT @types/node@22.19.5 OK for: tree-sitter@0.25.0 want: ^22.10.2
125 silly placeDep ROOT @types/tmp@0.2.6 OK for: tree-sitter@0.25.0 want: ^0.2.6
126 silly placeDep ROOT glob@11.1.0 OK for: tree-sitter@0.25.0 want: ^11.0.0
127 silly placeDep ROOT node-gyp@11.5.0 OK for: tree-sitter@0.25.0 want: ^11.0.0
128 silly placeDep ROOT prebuildify@6.0.1 OK for: tree-sitter@0.25.0 want: ^6.0.1
129 silly placeDep ROOT tmp@0.2.5 OK for: tree-sitter@0.25.0 want: ^0.2.3
130 silly placeDep node_modules/.pnpm/tree-sitter@0.25.0 tree-sitter-c@0.23.6 OK for: tree-sitter@0.25.0 want: ^0.23.4
131 silly placeDep node_modules/.pnpm/tree-sitter@0.25.0 tree-sitter@0.22.4 REPLACE for: tree-sitter-c@0.23.6 want: ^0.22.1
132 silly placeDep ROOT tree-sitter-embedded-template@0.23.2 OK for: tree-sitter@0.25.0 want: ^0.23.2
133 silly placeDep ROOT tree-sitter-html@0.23.2 OK for: tree-sitter@0.25.0 want: ^0.23.2
134 silly placeDep ROOT tree-sitter-java@0.23.5 OK for: tree-sitter@0.25.0 want: ^0.23.5
135 silly placeDep ROOT tree-sitter-javascript@0.23.1 OK for: tree-sitter@0.25.0 want: ^0.23.1
136 silly placeDep ROOT tree-sitter-json@0.24.8 OK for: tree-sitter@0.25.0 want: ^0.24.8
137 silly placeDep ROOT tree-sitter-python@0.23.6 OK for: tree-sitter@0.25.0 want: ^0.23.6
138 silly placeDep ROOT tree-sitter-ruby@0.23.1 OK for: tree-sitter@0.25.0 want: ^0.23.1
139 silly placeDep ROOT tree-sitter-rust@0.23.3 OK for: tree-sitter@0.25.0 want: ^0.23.2
140 silly placeDep ROOT typedoc@0.27.9 OK for: tree-sitter@0.25.0 want: ^0.27.6
141 silly placeDep ROOT typescript@5.8.3 OK for: typedoc@0.27.9 want: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x
142 silly placeDep ROOT typedoc-plugin-rename-defaults@0.7.3 OK for: tree-sitter@0.25.0 want: ^0.7.2
143 silly fetch manifest undici-types@~6.21.0
144 silly packumentCache full:https://registry.npmjs.org/undici-types cache-miss
145 silly fetch manifest minipass@^7.1.2
146 silly packumentCache full:https://registry.npmjs.org/minipass cache-miss
147 silly fetch manifest jackspeak@^4.1.1
148 silly packumentCache full:https://registry.npmjs.org/jackspeak cache-miss
149 silly fetch manifest minimatch@^10.1.1
150 silly packumentCache full:https://registry.npmjs.org/minimatch cache-miss
151 silly fetch manifest path-scurry@^2.0.0
152 silly packumentCache full:https://registry.npmjs.org/path-scurry cache-miss
153 silly fetch manifest foreground-child@^3.3.1
154 silly packumentCache full:https://registry.npmjs.org/foreground-child cache-miss
155 silly fetch manifest package-json-from-dist@^1.0.0
156 silly packumentCache full:https://registry.npmjs.org/package-json-from-dist cache-miss
157 silly fetch manifest tar@^7.4.3
158 silly packumentCache full:https://registry.npmjs.org/tar cache-miss
159 silly fetch manifest nopt@^8.0.0
160 silly packumentCache full:https://registry.npmjs.org/nopt cache-miss
161 silly fetch manifest which@^5.0.0
162 silly packumentCache full:https://registry.npmjs.org/which cache-miss
163 silly fetch manifest semver@^7.3.5
164 silly packumentCache full:https://registry.npmjs.org/semver cache-miss
165 silly fetch manifest proc-log@^5.0.0
166 silly packumentCache full:https://registry.npmjs.org/proc-log cache-miss
167 silly fetch manifest env-paths@^2.2.0
168 silly packumentCache full:https://registry.npmjs.org/env-paths cache-miss
169 silly fetch manifest tinyglobby@^0.2.12
170 silly packumentCache full:https://registry.npmjs.org/tinyglobby cache-miss
171 silly fetch manifest graceful-fs@^4.2.6
172 silly packumentCache full:https://registry.npmjs.org/graceful-fs cache-miss
173 http fetch GET 200 https://registry.npmjs.org/env-paths 98ms (cache miss)
174 silly packumentCache full:https://registry.npmjs.org/env-paths set size:undefined disposed:false
175 silly fetch manifest make-fetch-happen@^14.0.3
176 silly packumentCache full:https://registry.npmjs.org/make-fetch-happen cache-miss
177 http fetch GET 200 https://registry.npmjs.org/proc-log 99ms (cache miss)
178 silly packumentCache full:https://registry.npmjs.org/proc-log set size:undefined disposed:false
179 silly fetch manifest exponential-backoff@^3.1.1
180 silly packumentCache full:https://registry.npmjs.org/exponential-backoff cache-miss
181 http fetch GET 200 https://registry.npmjs.org/tinyglobby 100ms (cache miss)
182 silly packumentCache full:https://registry.npmjs.org/tinyglobby set size:undefined disposed:false
183 silly fetch manifest minimist@^1.2.5
184 silly packumentCache full:https://registry.npmjs.org/minimist cache-miss
185 http fetch GET 200 https://registry.npmjs.org/jackspeak 107ms (cache updated)
186 silly packumentCache full:https://registry.npmjs.org/jackspeak set size:undefined disposed:false
187 silly fetch manifest mkdirp-classic@^0.5.3
188 silly packumentCache full:https://registry.npmjs.org/mkdirp-classic cache-miss
189 http fetch GET 200 https://registry.npmjs.org/minipass 121ms (cache revalidated)
190 silly packumentCache full:https://registry.npmjs.org/minipass set size:490195 disposed:false
191 silly fetch manifest node-abi@^3.3.0
192 silly packumentCache full:https://registry.npmjs.org/node-abi cache-miss
193 http fetch GET 200 https://registry.npmjs.org/path-scurry 125ms (cache updated)
194 silly packumentCache full:https://registry.npmjs.org/path-scurry set size:undefined disposed:false
195 silly fetch manifest npm-run-path@^3.1.0
196 silly packumentCache full:https://registry.npmjs.org/npm-run-path cache-miss
197 http fetch GET 200 https://registry.npmjs.org/semver 126ms (cache revalidated)
198 silly packumentCache full:https://registry.npmjs.org/semver set size:226907 disposed:false
199 silly fetch manifest pump@^3.0.0
200 silly packumentCache full:https://registry.npmjs.org/pump cache-miss
201 http fetch GET 200 https://registry.npmjs.org/package-json-from-dist 139ms (cache revalidated)
202 silly packumentCache full:https://registry.npmjs.org/package-json-from-dist set size:8854 disposed:false
203 silly fetch manifest tar-fs@^2.1.0
204 silly packumentCache full:https://registry.npmjs.org/tar-fs cache-miss
205 http fetch GET 200 https://registry.npmjs.org/undici-types 147ms (cache updated)
206 silly packumentCache full:https://registry.npmjs.org/undici-types set size:undefined disposed:false
207 silly fetch manifest node-addon-api@^8.3.0
208 silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-miss
209 http fetch GET 200 https://registry.npmjs.org/minimist 47ms (cache updated)
210 silly packumentCache full:https://registry.npmjs.org/minimist set size:undefined disposed:false
211 silly fetch manifest node-gyp-build@^4.8.4
212 silly packumentCache full:https://registry.npmjs.org/node-gyp-build cache-miss
213 http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 45ms (cache miss)
214 silly packumentCache full:https://registry.npmjs.org/mkdirp-classic set size:undefined disposed:false
215 silly fetch manifest node-addon-api@^8.3.0
216 silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-miss
217 http fetch GET 200 https://registry.npmjs.org/nopt 156ms (cache updated)
218 silly packumentCache full:https://registry.npmjs.org/nopt set size:undefined disposed:false
219 silly fetch manifest node-gyp-build@^4.8.4
220 silly packumentCache full:https://registry.npmjs.org/node-gyp-build cache-miss
221 http cache https://registry.npmjs.org/node-gyp-build 11ms (cache hit)
222 silly packumentCache full:https://registry.npmjs.org/node-gyp-build set size:84545 disposed:false
223 silly fetch manifest node-addon-api@^8.2.2
224 silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-miss
225 http cache https://registry.npmjs.org/node-addon-api 15ms (cache hit)
226 silly packumentCache full:https://registry.npmjs.org/node-addon-api set size:328136 disposed:false
227 silly fetch manifest node-addon-api@^8.2.2
228 silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-hit
229 silly fetch manifest lunr@^2.3.9
230 silly packumentCache full:https://registry.npmjs.org/lunr cache-miss
231 http fetch GET 200 https://registry.npmjs.org/foreground-child 168ms (cache updated)
232 silly packumentCache full:https://registry.npmjs.org/foreground-child set size:undefined disposed:false
233 silly fetch manifest yaml@^2.6.1
234 silly packumentCache full:https://registry.npmjs.org/yaml cache-miss
235 http fetch GET 200 https://registry.npmjs.org/make-fetch-happen 72ms (cache miss)
236 silly packumentCache full:https://registry.npmjs.org/make-fetch-happen set size:undefined disposed:false
237 silly fetch manifest minimatch@^9.0.5
238 silly packumentCache full:https://registry.npmjs.org/minimatch cache-miss
239 http cache https://registry.npmjs.org/node-addon-api 25ms (cache hit)
240 silly packumentCache full:https://registry.npmjs.org/node-addon-api set size:328136 disposed:false
241 silly packumentCache full:https://registry.npmjs.org/node-addon-api dispose
242 silly fetch manifest markdown-it@^14.1.0
243 silly packumentCache full:https://registry.npmjs.org/markdown-it cache-miss
244 http cache https://registry.npmjs.org/node-gyp-build 26ms (cache hit)
245 silly packumentCache full:https://registry.npmjs.org/node-gyp-build set size:84545 disposed:false
246 silly packumentCache full:https://registry.npmjs.org/node-gyp-build dispose
247 silly fetch manifest @gerrit0/mini-shiki@^1.24.0
248 silly packumentCache full:https://registry.npmjs.org/@gerrit0%2fmini-shiki cache-miss
249 http fetch GET 200 https://registry.npmjs.org/npm-run-path 61ms (cache revalidated)
250 silly packumentCache full:https://registry.npmjs.org/npm-run-path set size:33596 disposed:false
251 silly fetch manifest camelcase@^8.0.0
252 silly packumentCache full:https://registry.npmjs.org/camelcase cache-miss
253 http fetch GET 200 https://registry.npmjs.org/graceful-fs 186ms (cache revalidated)
254 silly packumentCache full:https://registry.npmjs.org/graceful-fs set size:124285 disposed:false
255 http fetch GET 200 https://registry.npmjs.org/exponential-backoff 91ms (cache updated)
256 silly packumentCache full:https://registry.npmjs.org/exponential-backoff set size:undefined disposed:false
257 http cache https://registry.npmjs.org/node-addon-api 32ms (cache hit)
258 silly packumentCache full:https://registry.npmjs.org/node-addon-api set size:328136 disposed:true
259 silly packumentCache full:https://registry.npmjs.org/node-addon-api dispose
260 http fetch GET 200 https://registry.npmjs.org/which 198ms (cache updated)
261 silly packumentCache full:https://registry.npmjs.org/which set size:undefined disposed:false
262 http fetch GET 200 https://registry.npmjs.org/pump 72ms (cache updated)
263 silly packumentCache full:https://registry.npmjs.org/pump set size:undefined disposed:false
264 http fetch GET 200 https://registry.npmjs.org/tar 202ms (cache updated)
265 silly packumentCache full:https://registry.npmjs.org/tar set size:undefined disposed:false
266 http fetch GET 200 https://registry.npmjs.org/minimatch 207ms (cache updated)
267 silly packumentCache full:https://registry.npmjs.org/minimatch set size:undefined disposed:false
268 http fetch GET 200 https://registry.npmjs.org/node-abi 90ms (cache miss)
269 silly packumentCache full:https://registry.npmjs.org/node-abi set size:undefined disposed:false
270 http fetch GET 200 https://registry.npmjs.org/tar-fs 76ms (cache miss)
271 silly packumentCache full:https://registry.npmjs.org/tar-fs set size:undefined disposed:false
272 http fetch GET 200 https://registry.npmjs.org/markdown-it 38ms (cache miss)
273 silly packumentCache full:https://registry.npmjs.org/markdown-it set size:undefined disposed:false
274 http fetch GET 200 https://registry.npmjs.org/minimatch 59ms (cache updated)
275 silly packumentCache full:https://registry.npmjs.org/minimatch set size:undefined disposed:false
276 http fetch GET 200 https://registry.npmjs.org/camelcase 49ms (cache updated)
277 silly packumentCache full:https://registry.npmjs.org/camelcase set size:undefined disposed:false
278 http fetch GET 200 https://registry.npmjs.org/yaml 69ms (cache updated)
279 silly packumentCache full:https://registry.npmjs.org/yaml set size:undefined disposed:false
280 http fetch GET 200 https://registry.npmjs.org/@gerrit0%2fmini-shiki 56ms (cache miss)
281 silly packumentCache full:https://registry.npmjs.org/@gerrit0%2fmini-shiki set size:undefined disposed:false
282 http fetch GET 200 https://registry.npmjs.org/lunr 115ms (cache miss)
283 silly packumentCache full:https://registry.npmjs.org/lunr set size:undefined disposed:false
284 silly timing Tried to end timer that doesn't exist: idealTree:#root
285 silly reify mark retired [
285 silly reify   '/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/tree-sitter'
285 silly reify ]
286 silly reify moves {
286 silly reify   '/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/tree-sitter': '/Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script/node_modules/.tree-sitter-pd81tZpW'
286 silly reify }
287 silly audit bulk request {
287 silly audit   'tree-sitter': [ '0.22.4' ],
287 silly audit   'node-gyp-build': [ '4.8.4' ],
287 silly audit   'node-addon-api': [ '8.5.0' ],
287 silly audit   'tree-sitter-bash': [ '0.25.1' ]
287 silly audit }
288 http cache node-addon-api@https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.5.0.tgz 0ms (cache hit)
289 http cache tree-sitter-bash@https://registry.npmjs.org/tree-sitter-bash/-/tree-sitter-bash-0.25.1.tgz 0ms (cache hit)
290 http cache node-gyp-build@https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz 0ms (cache hit)
291 silly tarball no local data for node-addon-api@https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.5.0.tgz. Extracting by manifest.
292 silly tarball no local data for node-gyp-build@https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz. Extracting by manifest.
293 silly tarball no local data for tree-sitter-bash@https://registry.npmjs.org/tree-sitter-bash/-/tree-sitter-bash-0.25.1.tgz. Extracting by manifest.
294 http fetch GET 200 https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz 44ms (cache miss)
295 http fetch GET 200 https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.5.0.tgz 71ms (cache miss)
296 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 104ms
297 silly audit report {}
298 http fetch GET 200 https://registry.npmjs.org/tree-sitter-bash/-/tree-sitter-bash-0.25.1.tgz 251ms (cache miss)
299 info run tree-sitter-bash@0.25.1 install node_modules/tree-sitter-bash node-gyp-build
300 info run tree-sitter-bash@0.25.1 install { code: 0, signal: null }
301 verbose stack TypeError: Cannot destructure property 'package' of 'node.target' as it is null.
301 verbose stack     at #addToBuildSet (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:239:22)
301 verbose stack     at #buildQueues (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:179:40)
301 verbose stack     at #build (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:149:28)
301 verbose stack     at Arborist.rebuild (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:67:24)
301 verbose stack     at async [reifyPackages] (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:337:11)
301 verbose stack     at async Arborist.reify (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
301 verbose stack     at async Install.exec (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/lib/commands/install.js:149:5)
301 verbose stack     at async Npm.exec (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/lib/npm.js:208:9)
301 verbose stack     at async module.exports (/Users/adam/.nvm/versions/node/v24.3.0/lib/node_modules/npm/lib/cli/entry.js:67:5)
302 error Cannot destructure property 'package' of 'node.target' as it is null.
303 silly unfinished npm timer reify 1768234569521
304 silly unfinished npm timer idealTree:node_modules/.pnpm/tree-sitter@0.25.0/node_modules/tree-sitter 1768234569949
305 silly unfinished npm timer reify:build 1768234573024
306 silly unfinished npm timer build 1768234573024
307 silly unfinished npm timer build:links 1768234574323
308 silly unfinished npm timer build:queue 1768234574323
309 verbose cwd /Users/adam/work/eighty4/learn-treesitter/node-package/parse-shell-script
310 verbose os Darwin 24.6.0
311 verbose node v24.3.0
312 verbose npm  v11.4.2
313 verbose exit 1
314 verbose code 1
315 error A complete log of this run can be found in: /Users/adam/.npm/_logs/2026-01-12T16_16_08_988Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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