Can anyone help me solve a problem? I'm trying to install on a Windows computer, but it's returning the following error:
PS C:\Users\peter> npm install -g prismarine-web-client
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
LOG:
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@8.19.3
2 info using node@v18.13.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 3ms
6 timing config:load:builtin Completed in 4ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 3ms
10 timing config:load:file:C:\Users\peter.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:C:\Users\peter\AppData\Roaming\npm\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 1ms
14 timing config:load:validate Completed in 0ms
15 timing config:load:credentials Completed in 1ms
16 timing config:load:setEnvs Completed in 1ms
17 timing config:load Completed in 14ms
18 timing npm:load:configload Completed in 15ms
19 timing npm:load:mkdirpcache Completed in 1ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm install prismarine-web-client
22 verbose argv "install" "--global" "prismarine-web-client"
23 timing npm:load:setTitle Completed in 2ms
24 timing config:load:flatten Completed in 3ms
25 timing npm:load:display Completed in 5ms
26 verbose logfile logs-max:10 dir:C:\Users\peter\AppData\Local\npm-cache_logs
27 verbose logfile C:\Users\peter\AppData\Local\npm-cache_logs\2023-01-16T19_39_40_001Z-debug-0.log
28 timing npm:load:logFile Completed in 6ms
29 timing npm:load:timers Completed in 0ms
30 timing npm:load:configScope Completed in 0ms
31 timing npm:load Completed in 31ms
32 timing arborist:ctor Completed in 1ms
33 silly logfile start cleaning logs, removing 2 files
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 7ms
36 timing idealTree:userRequests Completed in 2ms
37 silly idealTree buildDeps
38 silly fetch manifest prismarine-web-client@
39 http fetch GET 200 https://registry.npmjs.org/prismarine-web-client 20ms (cache hit)
40 silly placeDep ROOT prismarine-web-client@1.3.0 OK for: want:
41 silly fetch manifest compression@^1.7.4
42 silly fetch manifest express@^4.17.1
43 silly fetch manifest net-browserify@github:PrismarineJS/net-browserify
44 http fetch GET 200 https://registry.npmjs.org/compression 25ms (cache hit)
45 http fetch GET 200 https://registry.npmjs.org/express 25ms (cache hit)
46 timing idealTree:#root Completed in 67ms
47 silly placeDep node_modules/prismarine-web-client compression@1.7.4 OK for: prismarine-web-client@1.3.0 want: ^1.7.4
48 silly placeDep node_modules/prismarine-web-client express@4.18.2 OK for: prismarine-web-client@1.3.0 want: ^4.17.1
49 silly placeDep node_modules/prismarine-web-client net-browserify@ OK for: prismarine-web-client@1.3.0 want: github:PrismarineJS/net-browserify
50 silly fetch manifest accepts@~1.3.5
51 silly fetch manifest bytes@3.0.0
52 silly fetch manifest compressible@~2.0.16
53 silly fetch manifest debug@2.6.9
54 silly fetch manifest on-headers@~1.0.2
55 silly fetch manifest safe-buffer@5.1.2
56 silly fetch manifest vary@~1.1.2
57 silly fetch manifest accepts@~1.3.8
58 silly fetch manifest array-flatten@1.1.1
59 silly fetch manifest body-parser@1.20.1
60 silly fetch manifest content-disposition@0.5.4
61 silly fetch manifest content-type@~1.0.4
62 silly fetch manifest cookie@0.5.0
63 silly fetch manifest cookie-signature@1.0.6
64 silly fetch manifest depd@2.0.0
65 silly fetch manifest encodeurl@~1.0.2
66 silly fetch manifest escape-html@~1.0.3
67 silly fetch manifest etag@~1.8.1
68 silly fetch manifest finalhandler@1.2.0
69 silly fetch manifest fresh@0.5.2
70 silly fetch manifest http-errors@2.0.0
71 silly fetch manifest merge-descriptors@1.0.1
72 silly fetch manifest methods@~1.1.2
73 silly fetch manifest on-finished@2.4.1
74 silly fetch manifest parseurl@~1.3.3
75 silly fetch manifest path-to-regexp@0.1.7
76 silly fetch manifest proxy-addr@~2.0.7
77 silly fetch manifest qs@6.11.0
78 silly fetch manifest range-parser@~1.2.1
79 silly fetch manifest safe-buffer@5.2.1
80 silly fetch manifest send@0.18.0
81 silly fetch manifest serve-static@1.15.0
82 silly fetch manifest setprototypeof@1.2.0
83 silly fetch manifest statuses@2.0.1
84 silly fetch manifest type-is@~1.6.18
85 silly fetch manifest utils-merge@1.0.1
86 http fetch GET 200 https://registry.npmjs.org/accepts 113ms (cache hit)
87 http fetch GET 200 https://registry.npmjs.org/bytes 113ms (cache hit)
88 http fetch GET 200 https://registry.npmjs.org/compressible 113ms (cache hit)
89 http fetch GET 200 https://registry.npmjs.org/array-flatten 110ms (cache hit)
90 http fetch GET 200 https://registry.npmjs.org/vary 111ms (cache hit)
91 http fetch GET 200 https://registry.npmjs.org/debug 114ms (cache hit)
92 http fetch GET 200 https://registry.npmjs.org/accepts 112ms (cache hit)
93 http fetch GET 200 https://registry.npmjs.org/on-headers 116ms (cache hit)
94 http fetch GET 200 https://registry.npmjs.org/safe-buffer 115ms (cache hit)
95 http fetch GET 200 https://registry.npmjs.org/content-disposition 112ms (cache hit)
96 http fetch GET 200 https://registry.npmjs.org/encodeurl 111ms (cache hit)
97 http fetch GET 200 https://registry.npmjs.org/body-parser 114ms (cache hit)
98 http fetch GET 200 https://registry.npmjs.org/escape-html 111ms (cache hit)
99 http fetch GET 200 https://registry.npmjs.org/content-type 115ms (cache hit)
100 http fetch GET 200 https://registry.npmjs.org/etag 111ms (cache hit)
101 http fetch GET 200 https://registry.npmjs.org/depd 114ms (cache hit)
102 http fetch GET 200 https://registry.npmjs.org/finalhandler 113ms (cache hit)
103 http fetch GET 200 https://registry.npmjs.org/cookie 116ms (cache hit)
104 http fetch GET 200 https://registry.npmjs.org/fresh 113ms (cache hit)
105 http fetch GET 200 https://registry.npmjs.org/http-errors 113ms (cache hit)
106 http fetch GET 200 https://registry.npmjs.org/methods 110ms (cache hit)
107 http fetch GET 200 https://registry.npmjs.org/merge-descriptors 113ms (cache hit)
108 http fetch GET 200 https://registry.npmjs.org/parseurl 109ms (cache hit)
109 http fetch GET 200 https://registry.npmjs.org/on-finished 111ms (cache hit)
110 http fetch GET 200 https://registry.npmjs.org/cookie-signature 120ms (cache hit)
111 http fetch GET 200 https://registry.npmjs.org/proxy-addr 109ms (cache hit)
112 http fetch GET 200 https://registry.npmjs.org/range-parser 108ms (cache hit)
113 http fetch GET 200 https://registry.npmjs.org/path-to-regexp 111ms (cache hit)
114 http fetch GET 200 https://registry.npmjs.org/qs 111ms (cache hit)
115 http fetch GET 200 https://registry.npmjs.org/send 110ms (cache hit)
116 http fetch GET 200 https://registry.npmjs.org/utils-merge 106ms (cache hit)
117 http fetch GET 200 https://registry.npmjs.org/setprototypeof 110ms (cache hit)
118 http fetch GET 200 https://registry.npmjs.org/serve-static 111ms (cache hit)
119 http fetch GET 200 https://registry.npmjs.org/safe-buffer 114ms (cache hit)
120 http fetch GET 200 https://registry.npmjs.org/statuses 111ms (cache hit)
121 http fetch GET 200 https://registry.npmjs.org/type-is 110ms (cache hit)
122 timing idealTree:node_modules/prismarine-web-client Completed in 147ms
123 silly placeDep node_modules/prismarine-web-client accepts@1.3.8 OK for: compression@1.7.4 want: ~1.3.5
124 silly placeDep node_modules/prismarine-web-client bytes@3.0.0 OK for: compression@1.7.4 want: 3.0.0
125 silly placeDep node_modules/prismarine-web-client compressible@2.0.18 OK for: compression@1.7.4 want: ~2.0.16
126 silly placeDep node_modules/prismarine-web-client debug@2.6.9 OK for: compression@1.7.4 want: 2.6.9
127 silly placeDep node_modules/prismarine-web-client on-headers@1.0.2 OK for: compression@1.7.4 want: ~1.0.2
128 silly placeDep node_modules/prismarine-web-client safe-buffer@5.1.2 OK for: compression@1.7.4 want: 5.1.2
129 silly placeDep node_modules/prismarine-web-client vary@1.1.2 OK for: compression@1.7.4 want: ~1.1.2
130 silly fetch manifest mime-types@~2.1.34
131 silly fetch manifest negotiator@0.6.3
132 silly fetch manifest mime-db@>= 1.43.0 < 2
133 silly fetch manifest ms@2.0.0
134 http fetch GET 200 https://registry.npmjs.org/negotiator 16ms (cache hit)
135 http fetch GET 200 https://registry.npmjs.org/mime-types 17ms (cache hit)
136 http fetch GET 200 https://registry.npmjs.org/mime-db 16ms (cache hit)
137 http fetch GET 200 https://registry.npmjs.org/ms 16ms (cache hit)
138 timing idealTree:node_modules/prismarine-web-client/node_modules/compression Completed in 33ms
139 silly placeDep node_modules/prismarine-web-client mime-types@2.1.35 OK for: accepts@1.3.8 want: ~2.1.34
140 silly placeDep node_modules/prismarine-web-client negotiator@0.6.3 OK for: accepts@1.3.8 want: 0.6.3
141 silly fetch manifest mime-db@1.52.0
142 timing idealTree:node_modules/prismarine-web-client/node_modules/accepts Completed in 4ms
143 timing idealTree:node_modules/prismarine-web-client/node_modules/bytes Completed in 0ms
144 silly placeDep node_modules/prismarine-web-client mime-db@1.52.0 OK for: compressible@2.0.18 want: >= 1.43.0 < 2
145 timing idealTree:node_modules/prismarine-web-client/node_modules/compressible Completed in 2ms
146 silly placeDep node_modules/prismarine-web-client ms@2.0.0 OK for: debug@2.6.9 want: 2.0.0
147 timing idealTree:node_modules/prismarine-web-client/node_modules/debug Completed in 1ms
148 silly placeDep node_modules/prismarine-web-client array-flatten@1.1.1 OK for: express@4.18.2 want: 1.1.1
149 silly placeDep node_modules/prismarine-web-client body-parser@1.20.1 OK for: express@4.18.2 want: 1.20.1
150 silly placeDep node_modules/prismarine-web-client content-disposition@0.5.4 OK for: express@4.18.2 want: 0.5.4
151 silly placeDep node_modules/prismarine-web-client content-type@1.0.4 OK for: express@4.18.2 want: ~1.0.4
152 silly placeDep node_modules/prismarine-web-client cookie@0.5.0 OK for: express@4.18.2 want: 0.5.0
153 silly placeDep node_modules/prismarine-web-client cookie-signature@1.0.6 OK for: express@4.18.2 want: 1.0.6
154 silly placeDep node_modules/prismarine-web-client depd@2.0.0 OK for: express@4.18.2 want: 2.0.0
155 silly placeDep node_modules/prismarine-web-client encodeurl@1.0.2 OK for: express@4.18.2 want: ~1.0.2
156 silly placeDep node_modules/prismarine-web-client escape-html@1.0.3 OK for: express@4.18.2 want: ~1.0.3
157 silly placeDep node_modules/prismarine-web-client etag@1.8.1 OK for: express@4.18.2 want: ~1.8.1
158 silly placeDep node_modules/prismarine-web-client finalhandler@1.2.0 OK for: express@4.18.2 want: 1.2.0
159 silly placeDep node_modules/prismarine-web-client fresh@0.5.2 OK for: express@4.18.2 want: 0.5.2
160 silly placeDep node_modules/prismarine-web-client http-errors@2.0.0 OK for: express@4.18.2 want: 2.0.0
161 silly placeDep node_modules/prismarine-web-client merge-descriptors@1.0.1 OK for: express@4.18.2 want: 1.0.1
162 silly placeDep node_modules/prismarine-web-client methods@1.1.2 OK for: express@4.18.2 want: ~1.1.2
163 silly placeDep node_modules/prismarine-web-client on-finished@2.4.1 OK for: express@4.18.2 want: 2.4.1
164 silly placeDep node_modules/prismarine-web-client parseurl@1.3.3 OK for: express@4.18.2 want: ~1.3.3
165 silly placeDep node_modules/prismarine-web-client path-to-regexp@0.1.7 OK for: express@4.18.2 want: 0.1.7
166 silly placeDep node_modules/prismarine-web-client proxy-addr@2.0.7 OK for: express@4.18.2 want: ~2.0.7
167 silly placeDep node_modules/prismarine-web-client qs@6.11.0 OK for: express@4.18.2 want: 6.11.0
168 silly placeDep node_modules/prismarine-web-client range-parser@1.2.1 OK for: express@4.18.2 want: ~1.2.1
169 silly placeDep node_modules/prismarine-web-client/node_modules/express safe-buffer@5.2.1 OK for: express@4.18.2 want: 5.2.1
170 silly placeDep node_modules/prismarine-web-client send@0.18.0 OK for: express@4.18.2 want: 0.18.0
171 silly placeDep node_modules/prismarine-web-client serve-static@1.15.0 OK for: express@4.18.2 want: 1.15.0
172 silly placeDep node_modules/prismarine-web-client setprototypeof@1.2.0 OK for: express@4.18.2 want: 1.2.0
173 silly placeDep node_modules/prismarine-web-client statuses@2.0.1 OK for: express@4.18.2 want: 2.0.1
174 silly placeDep node_modules/prismarine-web-client type-is@1.6.18 OK for: express@4.18.2 want: ~1.6.18
175 silly placeDep node_modules/prismarine-web-client utils-merge@1.0.1 OK for: express@4.18.2 want: 1.0.1
176 silly fetch manifest bytes@3.1.2
177 silly fetch manifest destroy@1.2.0
178 silly fetch manifest iconv-lite@0.4.24
179 silly fetch manifest raw-body@2.5.1
180 silly fetch manifest unpipe@1.0.0
181 silly fetch manifest unpipe@~1.0.0
182 silly fetch manifest inherits@2.0.4
183 silly fetch manifest toidentifier@1.0.1
184 silly fetch manifest ee-first@1.1.1
185 silly fetch manifest forwarded@0.2.0
186 silly fetch manifest ipaddr.js@1.9.1
187 silly fetch manifest side-channel@^1.0.4
188 silly fetch manifest mime@1.6.0
189 silly fetch manifest ms@2.1.3
190 silly fetch manifest media-typer@0.3.0
191 http fetch GET 200 https://registry.npmjs.org/destroy 35ms (cache hit)
192 http fetch GET 200 https://registry.npmjs.org/raw-body 35ms (cache hit)
193 http fetch GET 200 https://registry.npmjs.org/unpipe 34ms (cache hit)
194 http fetch GET 200 https://registry.npmjs.org/iconv-lite 37ms (cache hit)
195 http fetch GET 200 https://registry.npmjs.org/ee-first 33ms (cache hit)
196 http fetch GET 200 https://registry.npmjs.org/toidentifier 33ms (cache hit)
197 http fetch GET 200 https://registry.npmjs.org/ipaddr.js 32ms (cache hit)
198 http fetch GET 200 https://registry.npmjs.org/forwarded 33ms (cache hit)
199 http fetch GET 200 https://registry.npmjs.org/side-channel 32ms (cache hit)
200 http fetch GET 200 https://registry.npmjs.org/inherits 36ms (cache hit)
201 http fetch GET 200 https://registry.npmjs.org/unpipe 38ms (cache hit)
202 http fetch GET 200 https://registry.npmjs.org/mime 32ms (cache hit)
203 http fetch GET 200 https://registry.npmjs.org/media-typer 32ms (cache hit)
204 timing idealTree:node_modules/prismarine-web-client/node_modules/express Completed in 85ms
205 timing idealTree:node_modules/prismarine-web-client/node_modules/array-flatten Completed in 0ms
206 silly placeDep node_modules/prismarine-web-client/node_modules/body-parser bytes@3.1.2 OK for: body-parser@1.20.1 want: 3.1.2
207 silly placeDep node_modules/prismarine-web-client destroy@1.2.0 OK for: body-parser@1.20.1 want: 1.2.0
208 silly placeDep node_modules/prismarine-web-client iconv-lite@0.4.24 OK for: body-parser@1.20.1 want: 0.4.24
209 silly placeDep node_modules/prismarine-web-client raw-body@2.5.1 OK for: body-parser@1.20.1 want: 2.5.1
210 silly placeDep node_modules/prismarine-web-client unpipe@1.0.0 OK for: body-parser@1.20.1 want: 1.0.0
211 silly fetch manifest safer-buffer@>= 2.1.2 < 3
212 http fetch GET 200 https://registry.npmjs.org/safer-buffer 7ms (cache hit)
213 timing idealTree:node_modules/prismarine-web-client/node_modules/body-parser Completed in 13ms
214 silly placeDep node_modules/prismarine-web-client/node_modules/content-disposition safe-buffer@5.2.1 OK for: content-disposition@0.5.4 want: 5.2.1
215 timing idealTree:node_modules/prismarine-web-client/node_modules/content-disposition Completed in 2ms
216 timing idealTree:node_modules/prismarine-web-client/node_modules/content-type Completed in 0ms
217 timing idealTree:node_modules/prismarine-web-client/node_modules/cookie Completed in 0ms
218 timing idealTree:node_modules/prismarine-web-client/node_modules/cookie-signature Completed in 0ms
219 timing idealTree:node_modules/prismarine-web-client/node_modules/depd Completed in 0ms
220 timing idealTree:node_modules/prismarine-web-client/node_modules/destroy Completed in 0ms
221 timing idealTree:node_modules/prismarine-web-client/node_modules/encodeurl Completed in 0ms
222 timing idealTree:node_modules/prismarine-web-client/node_modules/escape-html Completed in 0ms
223 timing idealTree:node_modules/prismarine-web-client/node_modules/etag Completed in 0ms
224 timing idealTree:node_modules/prismarine-web-client/node_modules/finalhandler Completed in 0ms
225 timing idealTree:node_modules/prismarine-web-client/node_modules/fresh Completed in 0ms
226 silly placeDep node_modules/prismarine-web-client inherits@2.0.4 OK for: http-errors@2.0.0 want: 2.0.4
227 silly placeDep node_modules/prismarine-web-client toidentifier@1.0.1 OK for: http-errors@2.0.0 want: 1.0.1
228 timing idealTree:node_modules/prismarine-web-client/node_modules/http-errors Completed in 2ms
229 silly placeDep node_modules/prismarine-web-client safer-buffer@2.1.2 OK for: iconv-lite@0.4.24 want: >= 2.1.2 < 3
230 timing idealTree:node_modules/prismarine-web-client/node_modules/iconv-lite Completed in 1ms
231 timing idealTree:node_modules/prismarine-web-client/node_modules/inherits Completed in 0ms
232 timing idealTree:node_modules/prismarine-web-client/node_modules/merge-descriptors Completed in 0ms
233 timing idealTree:node_modules/prismarine-web-client/node_modules/methods Completed in 0ms
234 timing idealTree:node_modules/prismarine-web-client/node_modules/mime-db Completed in 0ms
235 timing idealTree:node_modules/prismarine-web-client/node_modules/mime-types Completed in 0ms
236 timing idealTree:node_modules/prismarine-web-client/node_modules/ms Completed in 0ms
237 timing idealTree:node_modules/prismarine-web-client/node_modules/negotiator Completed in 0ms
238 timing idealTree:node_modules/prismarine-web-client/node_modules/net-browserify Completed in 0ms
239 silly placeDep node_modules/prismarine-web-client ee-first@1.1.1 OK for: on-finished@2.4.1 want: 1.1.1
240 timing idealTree:node_modules/prismarine-web-client/node_modules/on-finished Completed in 1ms
241 timing idealTree:node_modules/prismarine-web-client/node_modules/ee-first Completed in 0ms
242 timing idealTree:node_modules/prismarine-web-client/node_modules/on-headers Completed in 0ms
243 timing idealTree:node_modules/prismarine-web-client/node_modules/parseurl Completed in 0ms
244 timing idealTree:node_modules/prismarine-web-client/node_modules/path-to-regexp Completed in 0ms
245 silly placeDep node_modules/prismarine-web-client forwarded@0.2.0 OK for: proxy-addr@2.0.7 want: 0.2.0
246 silly placeDep node_modules/prismarine-web-client ipaddr.js@1.9.1 OK for: proxy-addr@2.0.7 want: 1.9.1
247 timing idealTree:node_modules/prismarine-web-client/node_modules/proxy-addr Completed in 2ms
248 timing idealTree:node_modules/prismarine-web-client/node_modules/forwarded Completed in 0ms
249 timing idealTree:node_modules/prismarine-web-client/node_modules/ipaddr.js Completed in 0ms
250 silly placeDep node_modules/prismarine-web-client side-channel@1.0.4 OK for: qs@6.11.0 want: ^1.0.4
251 silly fetch manifest call-bind@^1.0.0
252 silly fetch manifest get-intrinsic@^1.0.2
253 silly fetch manifest object-inspect@^1.9.0
254 http fetch GET 200 https://registry.npmjs.org/call-bind 9ms (cache hit)
255 http fetch GET 200 https://registry.npmjs.org/get-intrinsic 9ms (cache hit)
256 http fetch GET 200 https://registry.npmjs.org/object-inspect 8ms (cache hit)
257 timing idealTree:node_modules/prismarine-web-client/node_modules/qs Completed in 12ms
258 timing idealTree:node_modules/prismarine-web-client/node_modules/range-parser Completed in 0ms
259 silly placeDep node_modules/prismarine-web-client/node_modules/raw-body bytes@3.1.2 OK for: raw-body@2.5.1 want: 3.1.2
260 timing idealTree:node_modules/prismarine-web-client/node_modules/raw-body Completed in 1ms
261 timing idealTree:node_modules/prismarine-web-client/node_modules/safe-buffer Completed in 1ms
262 timing idealTree:node_modules/prismarine-web-client/node_modules/safer-buffer Completed in 0ms
263 silly placeDep node_modules/prismarine-web-client mime@1.6.0 OK for: send@0.18.0 want: 1.6.0
264 silly placeDep node_modules/prismarine-web-client/node_modules/send ms@2.1.3 OK for: send@0.18.0 want: 2.1.3
265 timing idealTree:node_modules/prismarine-web-client/node_modules/send Completed in 2ms
266 timing idealTree:node_modules/prismarine-web-client/node_modules/mime Completed in 0ms
267 timing idealTree:node_modules/prismarine-web-client/node_modules/serve-static Completed in 0ms
268 timing idealTree:node_modules/prismarine-web-client/node_modules/setprototypeof Completed in 0ms
269 silly placeDep node_modules/prismarine-web-client call-bind@1.0.2 OK for: side-channel@1.0.4 want: ^1.0.0
270 silly placeDep node_modules/prismarine-web-client get-intrinsic@1.1.3 OK for: side-channel@1.0.4 want: ^1.0.2
271 silly placeDep node_modules/prismarine-web-client object-inspect@1.12.3 OK for: side-channel@1.0.4 want: ^1.9.0
272 silly fetch manifest function-bind@^1.1.1
273 silly fetch manifest has@^1.0.3
274 silly fetch manifest has-symbols@^1.0.3
275 http fetch GET 200 https://registry.npmjs.org/has 11ms (cache hit)
276 http fetch GET 200 https://registry.npmjs.org/function-bind 13ms (cache hit)
277 http fetch GET 200 https://registry.npmjs.org/has-symbols 11ms (cache hit)
278 timing idealTree:node_modules/prismarine-web-client/node_modules/side-channel Completed in 16ms
279 silly placeDep node_modules/prismarine-web-client function-bind@1.1.1 OK for: call-bind@1.0.2 want: ^1.1.1
280 timing idealTree:node_modules/prismarine-web-client/node_modules/call-bind Completed in 1ms
281 timing idealTree:node_modules/prismarine-web-client/node_modules/function-bind Completed in 0ms
282 silly placeDep node_modules/prismarine-web-client has@1.0.3 OK for: get-intrinsic@1.1.3 want: ^1.0.3
283 silly placeDep node_modules/prismarine-web-client has-symbols@1.0.3 OK for: get-intrinsic@1.1.3 want: ^1.0.3
284 timing idealTree:node_modules/prismarine-web-client/node_modules/get-intrinsic Completed in 2ms
285 timing idealTree:node_modules/prismarine-web-client/node_modules/has Completed in 0ms
286 timing idealTree:node_modules/prismarine-web-client/node_modules/has-symbols Completed in 0ms
287 timing idealTree:node_modules/prismarine-web-client/node_modules/object-inspect Completed in 0ms
288 timing idealTree:node_modules/prismarine-web-client/node_modules/statuses Completed in 0ms
289 timing idealTree:node_modules/prismarine-web-client/node_modules/toidentifier Completed in 0ms
290 silly placeDep node_modules/prismarine-web-client media-typer@0.3.0 OK for: type-is@1.6.18 want: 0.3.0
291 timing idealTree:node_modules/prismarine-web-client/node_modules/type-is Completed in 1ms
292 timing idealTree:node_modules/prismarine-web-client/node_modules/media-typer Completed in 0ms
293 timing idealTree:node_modules/prismarine-web-client/node_modules/unpipe Completed in 0ms
294 timing idealTree:node_modules/prismarine-web-client/node_modules/utils-merge Completed in 0ms
295 timing idealTree:node_modules/prismarine-web-client/node_modules/vary Completed in 0ms
296 timing idealTree:node_modules/prismarine-web-client/node_modules/body-parser/node_modules/bytes Completed in 0ms
297 timing idealTree:node_modules/prismarine-web-client/node_modules/content-disposition/node_modules/safe-buffer Completed in 0ms
298 timing idealTree:node_modules/prismarine-web-client/node_modules/express/node_modules/safe-buffer Completed in 0ms
299 timing idealTree:node_modules/prismarine-web-client/node_modules/raw-body/node_modules/bytes Completed in 0ms
300 timing idealTree:node_modules/prismarine-web-client/node_modules/send/node_modules/ms Completed in 0ms
301 timing idealTree:buildDeps Completed in 406ms
302 timing idealTree:fixDepFlags Completed in 1ms
303 timing idealTree Completed in 418ms
304 timing command:install Completed in 434ms
305 verbose stack Error: An unknown git error occurred
305 verbose stack at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
305 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
305 verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
306 verbose cwd C:\Users\peter\Documents\VS-Code\MineBot
307 verbose Windows_NT 10.0.19045
308 verbose node v18.13.0
309 verbose npm v8.19.3
310 error code ENOENT
311 error syscall spawn git
312 error path git
313 error errno -4058
314 error enoent An unknown git error occurred
315 error enoent This is related to npm not being able to find a file.
315 error enoent
316 verbose exit -4058
317 timing npm Completed in 632ms
318 verbose unfinished npm timer reify 1673897980195
319 verbose unfinished npm timer reify:loadTrees 1673897980207
320 verbose code -4058
321 error A complete log of this run can be found in:
321 error C:\Users\peter\AppData\Local\npm-cache_logs\2023-01-16T19_39_40_001Z-debug-0.log
Can anyone help me solve a problem? I'm trying to install on a Windows computer, but it's returning the following error:
LOG: