Automattic / node-canvas

Node canvas is a Cairo backed Canvas implementation for NodeJS.
10.17k stars 1.17k forks source link

"npm install canvas" fails, I don't know what the issue is #2143

Closed Sans3108 closed 2 years ago

Sans3108 commented 2 years ago

Issue or Feature

Steps to Reproduce

npm i canvas

Complete 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.2
2 info using node@v18.11.0
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Users\dragn\AppData\Roaming\nvm\v18.11.0\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:C:\Users\dragn\Desktop\shapez.io-viewer\.npmrc Completed in 0ms
10 timing config:load:project Completed in 5ms
11 timing config:load:file:C:\Users\dragn\.npmrc Completed in 2ms
12 timing config:load:user Completed in 2ms
13 timing config:load:file:C:\Program Files\nodejs\etc\npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 2ms
18 timing config:load Completed in 19ms
19 timing npm:load:configload Completed in 19ms
20 timing npm:load:mkdirpcache Completed in 2ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm i canvas
23 verbose argv "i" "canvas"
24 timing npm:load:setTitle Completed in 2ms
25 timing config:load:flatten Completed in 4ms
26 timing npm:load:display Completed in 6ms
27 verbose logfile logs-max:10 dir:C:\Users\dragn\AppData\Local\npm-cache\_logs
28 verbose logfile C:\Users\dragn\AppData\Local\npm-cache\_logs\2022-10-21T23_59_59_661Z-debug-0.log
29 timing npm:load:logFile Completed in 9ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 39ms
33 timing arborist:ctor Completed in 1ms
34 silly logfile start cleaning logs, removing 3 files
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 99ms
37 timing idealTree:userRequests Completed in 3ms
38 silly idealTree buildDeps
39 silly fetch manifest canvas@*
40 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
41 http fetch GET 200 https://registry.npmjs.org/canvas 96ms (cache hit)
42 silly placeDep ROOT canvas@2.10.1 OK for: shape_generator@1.0.0 want: *
43 silly fetch manifest @mapbox/node-pre-gyp@^1.0.0
44 silly fetch manifest nan@^2.15.0
45 silly fetch manifest simple-get@^3.0.3
46 http fetch GET 200 https://registry.npmjs.org/simple-get 17ms (cache hit)
47 http fetch GET 200 https://registry.npmjs.org/@mapbox%2fnode-pre-gyp 20ms (cache hit)
48 http fetch GET 200 https://registry.npmjs.org/nan 21ms (cache hit)
49 timing idealTree:#root Completed in 131ms
50 silly placeDep ROOT @mapbox/node-pre-gyp@1.0.10 OK for: canvas@2.10.1 want: ^1.0.0
51 silly placeDep ROOT nan@2.17.0 OK for: canvas@2.10.1 want: ^2.15.0
52 silly placeDep ROOT simple-get@3.1.1 OK for: canvas@2.10.1 want: ^3.0.3
53 silly fetch manifest detect-libc@^2.0.0
54 silly fetch manifest https-proxy-agent@^5.0.0
55 silly fetch manifest make-dir@^3.1.0
56 silly fetch manifest node-fetch@^2.6.7
57 silly fetch manifest nopt@^5.0.0
58 silly fetch manifest npmlog@^5.0.1
59 silly fetch manifest rimraf@^3.0.2
60 silly fetch manifest semver@^7.3.5
61 silly fetch manifest tar@^6.1.11
62 silly fetch manifest decompress-response@^4.2.0
63 silly fetch manifest once@^1.3.1
64 silly fetch manifest simple-concat@^1.0.0
65 http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 62ms (cache hit)
66 http fetch GET 200 https://registry.npmjs.org/make-dir 63ms (cache hit)
67 http fetch GET 200 https://registry.npmjs.org/npmlog 62ms (cache hit)
68 http fetch GET 200 https://registry.npmjs.org/node-fetch 64ms (cache hit)
69 http fetch GET 200 https://registry.npmjs.org/rimraf 66ms (cache hit)
70 http fetch GET 200 https://registry.npmjs.org/nopt 70ms (cache hit)
71 http fetch GET 200 https://registry.npmjs.org/detect-libc 74ms (cache hit)
72 http fetch GET 200 https://registry.npmjs.org/semver 70ms (cache hit)
73 http fetch GET 200 https://registry.npmjs.org/tar 70ms (cache hit)
74 http fetch GET 200 https://registry.npmjs.org/once 72ms (cache hit)
75 http fetch GET 200 https://registry.npmjs.org/decompress-response 72ms (cache hit)
76 http fetch GET 200 https://registry.npmjs.org/simple-concat 73ms (cache hit)
77 timing idealTree:node_modules/canvas Completed in 86ms
78 silly fetch manifest encoding@^0.1.0
79 http fetch GET 200 https://registry.npmjs.org/encoding 7ms (cache hit)
80 silly placeDep ROOT detect-libc@2.0.1 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^2.0.0
81 silly placeDep ROOT https-proxy-agent@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^5.0.0
82 silly placeDep ROOT make-dir@3.1.0 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^3.1.0
83 silly placeDep ROOT node-fetch@2.6.7 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^2.6.7
84 silly placeDep ROOT nopt@5.0.0 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^5.0.0
85 silly placeDep ROOT npmlog@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^5.0.1
86 silly placeDep ROOT rimraf@3.0.2 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^3.0.2
87 silly placeDep ROOT semver@7.3.8 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^7.3.5
88 silly placeDep ROOT tar@6.1.11 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^6.1.11
89 silly fetch manifest agent-base@6
90 silly fetch manifest debug@4
91 silly fetch manifest semver@^6.0.0
92 silly fetch manifest whatwg-url@^5.0.0
93 silly fetch manifest abbrev@1
94 silly fetch manifest are-we-there-yet@^2.0.0
95 silly fetch manifest console-control-strings@^1.1.0
96 silly fetch manifest gauge@^3.0.0
97 silly fetch manifest set-blocking@^2.0.0
98 silly fetch manifest glob@^7.1.3
99 silly fetch manifest lru-cache@^6.0.0
100 silly fetch manifest chownr@^2.0.0
101 silly fetch manifest fs-minipass@^2.0.0
102 silly fetch manifest minipass@^3.0.0
103 silly fetch manifest minizlib@^2.1.1
104 silly fetch manifest mkdirp@^1.0.3
105 silly fetch manifest yallist@^4.0.0
106 http fetch GET 200 https://registry.npmjs.org/agent-base 86ms (cache hit)
107 http fetch GET 200 https://registry.npmjs.org/debug 88ms (cache hit)
108 http fetch GET 200 https://registry.npmjs.org/abbrev 88ms (cache hit)
109 http fetch GET 200 https://registry.npmjs.org/whatwg-url 90ms (cache hit)
110 http fetch GET 200 https://registry.npmjs.org/gauge 88ms (cache hit)
111 http fetch GET 200 https://registry.npmjs.org/console-control-strings 91ms (cache hit)
112 http fetch GET 200 https://registry.npmjs.org/set-blocking 89ms (cache hit)
113 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 93ms (cache hit)
114 http fetch GET 200 https://registry.npmjs.org/glob 89ms (cache hit)
115 http fetch GET 200 https://registry.npmjs.org/chownr 90ms (cache hit)
116 http fetch GET 200 https://registry.npmjs.org/lru-cache 92ms (cache hit)
117 http fetch GET 200 https://registry.npmjs.org/minipass 93ms (cache hit)
118 http fetch GET 200 https://registry.npmjs.org/fs-minipass 96ms (cache hit)
119 http fetch GET 200 https://registry.npmjs.org/mkdirp 93ms (cache hit)
120 http fetch GET 200 https://registry.npmjs.org/minizlib 95ms (cache hit)
121 http fetch GET 200 https://registry.npmjs.org/yallist 95ms (cache hit)
122 timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 131ms
123 timing idealTree:node_modules/detect-libc Completed in 0ms
124 silly placeDep ROOT agent-base@6.0.2 OK for: https-proxy-agent@5.0.1 want: 6
125 silly placeDep node_modules/https-proxy-agent debug@4.3.4 OK for: https-proxy-agent@5.0.1 want: 4
126 silly fetch manifest ms@2.1.2
127 http fetch GET 200 https://registry.npmjs.org/ms 6ms (cache hit)
128 timing idealTree:node_modules/https-proxy-agent Completed in 13ms
129 silly placeDep node_modules/agent-base debug@4.3.4 OK for: agent-base@6.0.2 want: 4
130 timing idealTree:node_modules/agent-base Completed in 2ms
131 silly placeDep node_modules/make-dir semver@6.3.0 OK for: make-dir@3.1.0 want: ^6.0.0
132 timing idealTree:node_modules/make-dir Completed in 2ms
133 timing idealTree:node_modules/nan Completed in 0ms
134 silly placeDep ROOT whatwg-url@5.0.0 OK for: node-fetch@2.6.7 want: ^5.0.0
135 silly fetch manifest tr46@~0.0.3
136 silly fetch manifest webidl-conversions@^3.0.0
137 http fetch GET 200 https://registry.npmjs.org/tr46 10ms (cache hit)
138 http fetch GET 200 https://registry.npmjs.org/webidl-conversions 10ms (cache hit)
139 timing idealTree:node_modules/node-fetch Completed in 14ms
140 silly placeDep ROOT abbrev@1.1.1 OK for: nopt@5.0.0 want: 1
141 timing idealTree:node_modules/nopt Completed in 2ms
142 timing idealTree:node_modules/abbrev Completed in 0ms
143 silly placeDep ROOT are-we-there-yet@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0
144 silly placeDep ROOT console-control-strings@1.1.0 OK for: npmlog@5.0.1 want: ^1.1.0
145 silly placeDep ROOT gauge@3.0.2 OK for: npmlog@5.0.1 want: ^3.0.0
146 silly placeDep ROOT set-blocking@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0
147 silly fetch manifest delegates@^1.0.0
148 silly fetch manifest readable-stream@^3.6.0
149 silly fetch manifest aproba@^1.0.3 || ^2.0.0
150 silly fetch manifest color-support@^1.1.2
151 silly fetch manifest has-unicode@^2.0.1
152 silly fetch manifest object-assign@^4.1.1
153 silly fetch manifest signal-exit@^3.0.0
154 silly fetch manifest string-width@^4.2.3
155 silly fetch manifest strip-ansi@^6.0.1
156 silly fetch manifest wide-align@^1.1.2
157 http fetch GET 200 https://registry.npmjs.org/object-assign 49ms (cache hit)
158 http fetch GET 200 https://registry.npmjs.org/color-support 53ms (cache hit)
159 http fetch GET 200 https://registry.npmjs.org/delegates 57ms (cache hit)
160 http fetch GET 200 https://registry.npmjs.org/has-unicode 53ms (cache hit)
161 http fetch GET 200 https://registry.npmjs.org/signal-exit 50ms (cache hit)
162 http fetch GET 200 https://registry.npmjs.org/string-width 50ms (cache hit)
163 http fetch GET 200 https://registry.npmjs.org/aproba 57ms (cache hit)
164 http fetch GET 200 https://registry.npmjs.org/strip-ansi 50ms (cache hit)
165 http fetch GET 200 https://registry.npmjs.org/wide-align 50ms (cache hit)
166 http fetch GET 200 https://registry.npmjs.org/readable-stream 61ms (cache hit)
167 timing idealTree:node_modules/npmlog Completed in 71ms
168 silly placeDep ROOT delegates@1.0.0 OK for: are-we-there-yet@2.0.0 want: ^1.0.0
169 silly placeDep ROOT readable-stream@3.6.0 OK for: are-we-there-yet@2.0.0 want: ^3.6.0
170 silly fetch manifest string_decoder@^1.1.1
171 silly fetch manifest util-deprecate@^1.0.1
172 http fetch GET 200 https://registry.npmjs.org/util-deprecate 16ms (cache hit)
173 http fetch GET 200 https://registry.npmjs.org/string_decoder 18ms (cache hit)
174 timing idealTree:node_modules/are-we-there-yet Completed in 23ms
175 timing idealTree:node_modules/console-control-strings Completed in 0ms
176 timing idealTree:node_modules/delegates Completed in 0ms
177 silly placeDep ROOT aproba@2.0.0 OK for: gauge@3.0.2 want: ^1.0.3 || ^2.0.0
178 silly placeDep ROOT color-support@1.1.3 OK for: gauge@3.0.2 want: ^1.1.2
179 silly placeDep ROOT has-unicode@2.0.1 OK for: gauge@3.0.2 want: ^2.0.1
180 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@3.0.2 want: ^4.1.1
181 silly placeDep ROOT signal-exit@3.0.7 OK for: gauge@3.0.2 want: ^3.0.0
182 silly placeDep ROOT string-width@4.2.3 OK for: gauge@3.0.2 want: ^4.2.3
183 silly placeDep ROOT strip-ansi@6.0.1 OK for: gauge@3.0.2 want: ^6.0.1
184 silly placeDep ROOT wide-align@1.1.5 OK for: gauge@3.0.2 want: ^1.1.2
185 silly fetch manifest emoji-regex@^8.0.0
186 silly fetch manifest is-fullwidth-code-point@^3.0.0
187 silly fetch manifest ansi-regex@^5.0.1
188 http fetch GET 200 https://registry.npmjs.org/emoji-regex 13ms (cache hit)
189 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 14ms (cache hit)
190 http fetch GET 200 https://registry.npmjs.org/ansi-regex 13ms (cache hit)
191 timing idealTree:node_modules/gauge Completed in 27ms
192 timing idealTree:node_modules/aproba Completed in 0ms
193 timing idealTree:node_modules/color-support Completed in 0ms
194 timing idealTree:node_modules/has-unicode Completed in 0ms
195 timing idealTree:node_modules/object-assign Completed in 0ms
196 silly placeDep ROOT string_decoder@1.3.0 OK for: readable-stream@3.6.0 want: ^1.1.1
197 silly placeDep ROOT util-deprecate@1.0.2 OK for: readable-stream@3.6.0 want: ^1.0.1
198 timing idealTree:node_modules/readable-stream Completed in 3ms
199 silly placeDep ROOT glob@7.2.3 OK for: rimraf@3.0.2 want: ^7.1.3
200 silly fetch manifest fs.realpath@^1.0.0
201 silly fetch manifest inflight@^1.0.4
202 silly fetch manifest minimatch@^3.1.1
203 silly fetch manifest once@^1.3.0
204 silly fetch manifest path-is-absolute@^1.0.0
205 http fetch GET 200 https://registry.npmjs.org/inflight 22ms (cache hit)
206 http fetch GET 200 https://registry.npmjs.org/fs.realpath 23ms (cache hit)
207 http fetch GET 200 https://registry.npmjs.org/minimatch 21ms (cache hit)
208 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 21ms (cache hit)
209 timing idealTree:node_modules/rimraf Completed in 29ms
210 silly placeDep ROOT fs.realpath@1.0.0 OK for: glob@7.2.3 want: ^1.0.0
211 silly placeDep ROOT inflight@1.0.6 OK for: glob@7.2.3 want: ^1.0.4
212 silly placeDep ROOT minimatch@3.1.2 OK for: glob@7.2.3 want: ^3.1.1
213 silly placeDep ROOT once@1.4.0 OK for: glob@7.2.3 want: ^1.3.0
214 silly placeDep ROOT path-is-absolute@1.0.1 OK for: glob@7.2.3 want: ^1.0.0
215 silly fetch manifest wrappy@1
216 silly fetch manifest brace-expansion@^1.1.7
217 http fetch GET 200 https://registry.npmjs.org/wrappy 13ms (cache hit)
218 http fetch GET 200 https://registry.npmjs.org/brace-expansion 13ms (cache hit)
219 timing idealTree:node_modules/glob Completed in 21ms
220 timing idealTree:node_modules/fs.realpath Completed in 0ms
221 silly placeDep ROOT wrappy@1.0.2 OK for: inflight@1.0.6 want: 1
222 timing idealTree:node_modules/inflight Completed in 2ms
223 silly placeDep ROOT brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
224 silly fetch manifest balanced-match@^1.0.0
225 silly fetch manifest concat-map@0.0.1
226 http fetch GET 200 https://registry.npmjs.org/concat-map 8ms (cache hit)
227 http fetch GET 200 https://registry.npmjs.org/balanced-match 11ms (cache hit)
228 timing idealTree:node_modules/minimatch Completed in 13ms
229 silly placeDep ROOT balanced-match@1.0.2 OK for: brace-expansion@1.1.11 want: ^1.0.0
230 silly placeDep ROOT concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1
231 timing idealTree:node_modules/brace-expansion Completed in 3ms
232 timing idealTree:node_modules/balanced-match Completed in 0ms
233 timing idealTree:node_modules/concat-map Completed in 0ms
234 timing idealTree:node_modules/once Completed in 0ms
235 timing idealTree:node_modules/path-is-absolute Completed in 0ms
236 silly placeDep ROOT lru-cache@6.0.0 OK for: semver@7.3.8 want: ^6.0.0
237 timing idealTree:node_modules/semver Completed in 1ms
238 silly placeDep ROOT yallist@4.0.0 OK for: lru-cache@6.0.0 want: ^4.0.0
239 timing idealTree:node_modules/lru-cache Completed in 2ms
240 timing idealTree:node_modules/set-blocking Completed in 0ms
241 timing idealTree:node_modules/signal-exit Completed in 0ms
242 silly placeDep ROOT decompress-response@4.2.1 OK for: simple-get@3.1.1 want: ^4.2.0
243 silly placeDep ROOT simple-concat@1.0.1 OK for: simple-get@3.1.1 want: ^1.0.0
244 silly fetch manifest mimic-response@^2.0.0
245 http fetch GET 200 https://registry.npmjs.org/mimic-response 5ms (cache hit)
246 timing idealTree:node_modules/simple-get Completed in 9ms
247 silly placeDep ROOT mimic-response@2.1.0 OK for: decompress-response@4.2.1 want: ^2.0.0
248 timing idealTree:node_modules/decompress-response Completed in 1ms
249 timing idealTree:node_modules/mimic-response Completed in 0ms
250 timing idealTree:node_modules/simple-concat Completed in 0ms
251 timing idealTree:node_modules/string_decoder Completed in 0ms
252 silly placeDep ROOT emoji-regex@8.0.0 OK for: string-width@4.2.3 want: ^8.0.0
253 silly placeDep ROOT is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0
254 timing idealTree:node_modules/string-width Completed in 2ms
255 timing idealTree:node_modules/emoji-regex Completed in 0ms
256 timing idealTree:node_modules/is-fullwidth-code-point Completed in 0ms
257 silly placeDep ROOT ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1
258 timing idealTree:node_modules/strip-ansi Completed in 1ms
259 timing idealTree:node_modules/ansi-regex Completed in 0ms
260 silly placeDep ROOT chownr@2.0.0 OK for: tar@6.1.11 want: ^2.0.0
261 silly placeDep ROOT fs-minipass@2.1.0 OK for: tar@6.1.11 want: ^2.0.0
262 silly placeDep ROOT minipass@3.3.4 OK for: tar@6.1.11 want: ^3.0.0
263 silly placeDep ROOT minizlib@2.1.2 OK for: tar@6.1.11 want: ^2.1.1
264 silly placeDep node_modules/tar mkdirp@1.0.4 OK for: tar@6.1.11 want: ^1.0.3
265 timing idealTree:node_modules/tar Completed in 8ms
266 timing idealTree:node_modules/chownr Completed in 0ms
267 timing idealTree:node_modules/fs-minipass Completed in 0ms
268 timing idealTree:node_modules/minipass Completed in 0ms
269 timing idealTree:node_modules/minizlib Completed in 0ms
270 timing idealTree:node_modules/util-deprecate Completed in 0ms
271 silly placeDep ROOT tr46@0.0.3 OK for: whatwg-url@5.0.0 want: ~0.0.3
272 silly placeDep ROOT webidl-conversions@3.0.1 OK for: whatwg-url@5.0.0 want: ^3.0.0
273 timing idealTree:node_modules/whatwg-url Completed in 2ms
274 timing idealTree:node_modules/tr46 Completed in 0ms
275 timing idealTree:node_modules/webidl-conversions Completed in 0ms
276 timing idealTree:node_modules/wide-align Completed in 0ms
277 timing idealTree:node_modules/wrappy Completed in 0ms
278 timing idealTree:node_modules/yallist Completed in 0ms
279 silly placeDep node_modules/agent-base ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
280 timing idealTree:node_modules/agent-base/node_modules/debug Completed in 2ms
281 timing idealTree:node_modules/agent-base/node_modules/ms Completed in 0ms
282 silly placeDep node_modules/https-proxy-agent ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
283 timing idealTree:node_modules/https-proxy-agent/node_modules/debug Completed in 2ms
284 timing idealTree:node_modules/https-proxy-agent/node_modules/ms Completed in 0ms
285 timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms
286 timing idealTree:node_modules/tar/node_modules/mkdirp Completed in 0ms
287 timing idealTree:buildDeps Completed in 612ms
288 timing idealTree:fixDepFlags Completed in 2ms
289 timing idealTree Completed in 722ms
290 timing reify:loadTrees Completed in 723ms
291 timing reify:diffTrees Completed in 8ms
292 silly reify moves {}
293 timing reify:retireShallow Completed in 1ms
294 timing reify:createSparse Completed in 23ms
295 timing reify:loadBundles Completed in 0ms
296 silly audit bulk request {
296 silly audit   accepts: [ '1.3.8' ],
296 silly audit   'array-flatten': [ '1.1.1' ],
296 silly audit   async: [ '2.6.4' ],
296 silly audit   'basic-auth': [ '1.1.0' ],
296 silly audit   'body-parser': [ '1.20.1' ],
296 silly audit   bytes: [ '3.1.2' ],
296 silly audit   'call-bind': [ '1.0.2' ],
296 silly audit   colors: [ '1.4.0' ],
296 silly audit   'content-disposition': [ '0.5.4' ],
296 silly audit   'content-type': [ '1.0.4' ],
296 silly audit   cookie: [ '0.5.0' ],
296 silly audit   'cookie-signature': [ '1.0.6' ],
296 silly audit   corser: [ '2.0.1' ],
296 silly audit   debug: [ '2.6.9', '3.2.7', '4.3.4' ],
296 silly audit   depd: [ '2.0.0' ],
296 silly audit   destroy: [ '1.2.0' ],
296 silly audit   ecstatic: [ '3.3.2' ],
296 silly audit   'ee-first': [ '1.1.1' ],
296 silly audit   encodeurl: [ '1.0.2' ],
296 silly audit   'escape-html': [ '1.0.3' ],
296 silly audit   etag: [ '1.8.1' ],
296 silly audit   eventemitter3: [ '4.0.7' ],
296 silly audit   express: [ '4.18.2' ],
296 silly audit   finalhandler: [ '1.2.0' ],
296 silly audit   'follow-redirects': [ '1.15.2' ],
296 silly audit   forwarded: [ '0.2.0' ],
296 silly audit   fresh: [ '0.5.2' ],
296 silly audit   'function-bind': [ '1.1.1' ],
296 silly audit   'get-intrinsic': [ '1.1.3' ],
296 silly audit   has: [ '1.0.3' ],
296 silly audit   'has-symbols': [ '1.0.3' ],
296 silly audit   he: [ '1.2.0' ],
296 silly audit   'http-errors': [ '2.0.0' ],
296 silly audit   'http-proxy': [ '1.18.1' ],
296 silly audit   'http-server': [ '0.12.3' ],
296 silly audit   'iconv-lite': [ '0.4.24' ],
296 silly audit   inherits: [ '2.0.4' ],
296 silly audit   'ipaddr.js': [ '1.9.1' ],
296 silly audit   lodash: [ '4.17.21' ],
296 silly audit   'media-typer': [ '0.3.0' ],
296 silly audit   'merge-descriptors': [ '1.0.1' ],
296 silly audit   methods: [ '1.1.2' ],
296 silly audit   mime: [ '1.6.0' ],
296 silly audit   'mime-db': [ '1.52.0' ],
296 silly audit   'mime-types': [ '2.1.35' ],
296 silly audit   minimist: [ '1.2.7' ],
296 silly audit   mkdirp: [ '0.5.6', '1.0.4' ],
296 silly audit   ms: [ '2.0.0', '2.1.3', '2.1.2' ],
296 silly audit   negotiator: [ '0.6.3' ],
296 silly audit   'object-inspect': [ '1.12.2' ],
296 silly audit   'on-finished': [ '2.4.1' ],
296 silly audit   opener: [ '1.5.2' ],
296 silly audit   parseurl: [ '1.3.3' ],
296 silly audit   'path-to-regexp': [ '0.1.7' ],
296 silly audit   portfinder: [ '1.0.32' ],
296 silly audit   'proxy-addr': [ '2.0.7' ],
296 silly audit   qs: [ '6.11.0' ],
296 silly audit   'range-parser': [ '1.2.1' ],
296 silly audit   'raw-body': [ '2.5.1' ],
296 silly audit   'requires-port': [ '1.0.0' ],
296 silly audit   'safe-buffer': [ '5.2.1' ],
296 silly audit   'safer-buffer': [ '2.1.2' ],
296 silly audit   'secure-compare': [ '3.0.1' ],
296 silly audit   send: [ '0.18.0' ],
296 silly audit   'serve-static': [ '1.15.0' ],
296 silly audit   setprototypeof: [ '1.2.0' ],
296 silly audit   'side-channel': [ '1.0.4' ],
296 silly audit   statuses: [ '2.0.1' ],
296 silly audit   toidentifier: [ '1.0.1' ],
296 silly audit   'type-is': [ '1.6.18' ],
296 silly audit   union: [ '0.5.0' ],
296 silly audit   unpipe: [ '1.0.0' ],
296 silly audit   'url-join': [ '2.0.5' ],
296 silly audit   'utils-merge': [ '1.0.1' ],
296 silly audit   vary: [ '1.1.2' ],
296 silly audit   canvas: [ '2.10.1' ],
296 silly audit   '@mapbox/node-pre-gyp': [ '1.0.10' ],
296 silly audit   nan: [ '2.17.0' ],
296 silly audit   'simple-get': [ '3.1.1' ],
296 silly audit   'detect-libc': [ '2.0.1' ],
296 silly audit   'https-proxy-agent': [ '5.0.1' ],
296 silly audit   'make-dir': [ '3.1.0' ],
296 silly audit   'node-fetch': [ '2.6.7' ],
296 silly audit   nopt: [ '5.0.0' ],
296 silly audit   npmlog: [ '5.0.1' ],
296 silly audit   rimraf: [ '3.0.2' ],
296 silly audit   semver: [ '7.3.8', '6.3.0' ],
296 silly audit   tar: [ '6.1.11' ],
296 silly audit   'agent-base': [ '6.0.2' ],
296 silly audit   'whatwg-url': [ '5.0.0' ],
296 silly audit   abbrev: [ '1.1.1' ],
296 silly audit   'are-we-there-yet': [ '2.0.0' ],
296 silly audit   'console-control-strings': [ '1.1.0' ],
296 silly audit   gauge: [ '3.0.2' ],
296 silly audit   'set-blocking': [ '2.0.0' ],
296 silly audit   delegates: [ '1.0.0' ],
296 silly audit   'readable-stream': [ '3.6.0' ],
296 silly audit   aproba: [ '2.0.0' ],
296 silly audit   'color-support': [ '1.1.3' ],
296 silly audit   'has-unicode': [ '2.0.1' ],
296 silly audit   'object-assign': [ '4.1.1' ],
296 silly audit   'signal-exit': [ '3.0.7' ],
296 silly audit   'string-width': [ '4.2.3' ],
296 silly audit   'strip-ansi': [ '6.0.1' ],
296 silly audit   'wide-align': [ '1.1.5' ],
296 silly audit   string_decoder: [ '1.3.0' ],
296 silly audit   'util-deprecate': [ '1.0.2' ],
296 silly audit   glob: [ '7.2.3' ],
296 silly audit   'fs.realpath': [ '1.0.0' ],
296 silly audit   inflight: [ '1.0.6' ],
296 silly audit   minimatch: [ '3.1.2' ],
296 silly audit   once: [ '1.4.0' ],
296 silly audit   'path-is-absolute': [ '1.0.1' ],
296 silly audit   wrappy: [ '1.0.2' ],
296 silly audit   'brace-expansion': [ '1.1.11' ],
296 silly audit   'balanced-match': [ '1.0.2' ],
296 silly audit   'concat-map': [ '0.0.1' ],
296 silly audit   'lru-cache': [ '6.0.0' ],
296 silly audit   yallist: [ '4.0.0' ],
296 silly audit   'decompress-response': [ '4.2.1' ],
296 silly audit   'simple-concat': [ '1.0.1' ],
296 silly audit   'mimic-response': [ '2.1.0' ],
296 silly audit   'emoji-regex': [ '8.0.0' ],
296 silly audit   'is-fullwidth-code-point': [ '3.0.0' ],
296 silly audit   'ansi-regex': [ '5.0.1' ],
296 silly audit   chownr: [ '2.0.0' ],
296 silly audit   'fs-minipass': [ '2.1.0' ],
296 silly audit   minipass: [ '3.3.4' ],
296 silly audit   minizlib: [ '2.1.2' ],
296 silly audit   tr46: [ '0.0.3' ],
296 silly audit   'webidl-conversions': [ '3.0.1' ]
296 silly audit }
297 timing reifyNode:node_modules/chownr Completed in 336ms
298 timing reifyNode:node_modules/wrappy Completed in 352ms
299 timing reifyNode:node_modules/path-is-absolute Completed in 352ms
300 timing reifyNode:node_modules/brace-expansion Completed in 352ms
301 timing reifyNode:node_modules/once Completed in 351ms
302 timing reifyNode:node_modules/inflight Completed in 352ms
303 timing reifyNode:node_modules/wide-align Completed in 352ms
304 timing reifyNode:node_modules/has-unicode Completed in 351ms
305 timing reifyNode:node_modules/object-assign Completed in 368ms
306 timing reifyNode:node_modules/abbrev Completed in 368ms
307 timing reifyNode:node_modules/webidl-conversions Completed in 390ms
308 timing reifyNode:node_modules/agent-base/node_modules/ms Completed in 386ms
309 timing reifyNode:node_modules/fs-minipass Completed in 390ms
310 timing reifyNode:node_modules/lru-cache Completed in 390ms
311 timing reifyNode:node_modules/https-proxy-agent/node_modules/ms Completed in 393ms
312 timing reifyNode:node_modules/npmlog Completed in 394ms
313 timing reifyNode:node_modules/simple-get Completed in 394ms
314 timing reifyNode:node_modules/string_decoder Completed in 398ms
315 timing reifyNode:node_modules/minimatch Completed in 399ms
316 timing reifyNode:node_modules/mimic-response Completed in 407ms
317 timing reifyNode:node_modules/decompress-response Completed in 408ms
318 timing reifyNode:node_modules/strip-ansi Completed in 406ms
319 timing reifyNode:node_modules/signal-exit Completed in 406ms
320 timing reifyNode:node_modules/is-fullwidth-code-point Completed in 408ms
321 timing reifyNode:node_modules/aproba Completed in 406ms
322 timing reifyNode:node_modules/console-control-strings Completed in 406ms
323 timing reifyNode:node_modules/set-blocking Completed in 406ms
324 timing reifyNode:node_modules/string-width Completed in 407ms
325 timing reifyNode:node_modules/ansi-regex Completed in 410ms
326 timing reifyNode:node_modules/balanced-match Completed in 410ms
327 timing reifyNode:node_modules/make-dir Completed in 407ms
328 timing reifyNode:node_modules/yallist Completed in 411ms
329 timing reifyNode:node_modules/minizlib Completed in 416ms
330 timing reifyNode:node_modules/util-deprecate Completed in 419ms
331 timing reifyNode:node_modules/color-support Completed in 419ms
332 timing reifyNode:node_modules/minipass Completed in 425ms
333 timing reifyNode:node_modules/fs.realpath Completed in 422ms
334 timing reifyNode:node_modules/simple-concat Completed in 425ms
335 timing reifyNode:node_modules/rimraf Completed in 423ms
336 timing reifyNode:node_modules/detect-libc Completed in 424ms
337 timing reifyNode:node_modules/nopt Completed in 427ms
338 timing reifyNode:node_modules/glob Completed in 429ms
339 timing reifyNode:node_modules/concat-map Completed in 438ms
340 timing reifyNode:node_modules/agent-base/node_modules/debug Completed in 436ms
341 timing reifyNode:node_modules/https-proxy-agent/node_modules/debug Completed in 438ms
342 timing reifyNode:node_modules/delegates Completed in 440ms
343 timing reifyNode:node_modules/are-we-there-yet Completed in 443ms
344 timing reifyNode:node_modules/emoji-regex Completed in 446ms
345 timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 443ms
346 timing reifyNode:node_modules/whatwg-url Completed in 446ms
347 timing reifyNode:node_modules/tr46 Completed in 451ms
348 timing reifyNode:node_modules/node-fetch Completed in 448ms
349 timing reifyNode:node_modules/https-proxy-agent Completed in 455ms
350 timing reifyNode:node_modules/tar/node_modules/mkdirp Completed in 458ms
351 timing reifyNode:node_modules/agent-base Completed in 461ms
352 timing reifyNode:node_modules/gauge Completed in 480ms
353 timing reifyNode:node_modules/readable-stream Completed in 505ms
354 timing reifyNode:node_modules/tar Completed in 523ms
355 timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 525ms
356 timing reifyNode:node_modules/semver Completed in 551ms
357 timing reifyNode:node_modules/nan Completed in 558ms
358 timing reifyNode:node_modules/canvas Completed in 576ms
359 timing reify:unpack Completed in 583ms
360 timing reify:unretire Completed in 0ms
361 timing build:queue Completed in 5ms
362 timing build:link:node_modules/tar/node_modules/mkdirp Completed in 23ms
363 timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 25ms
364 timing build:link:node_modules/color-support Completed in 25ms
365 timing build:link:node_modules/make-dir/node_modules/semver Completed in 24ms
366 timing build:link:node_modules/nopt Completed in 25ms
367 timing build:link:node_modules/semver Completed in 25ms
368 timing build:link:node_modules/rimraf Completed in 26ms
369 timing build:link Completed in 28ms
370 info run canvas@2.10.1 install node_modules/canvas node-pre-gyp install --fallback-to-build --update-binary
371 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 664ms
372 timing auditReport:getReport Completed in 670ms
373 silly audit report {
373 silly audit report   ecstatic: [
373 silly audit report     {
373 silly audit report       id: 1082441,
373 silly audit report       url: 'https://github.com/advisories/GHSA-jc84-3g44-wf2q',
373 silly audit report       title: 'Denial of Service in ecstatic',
373 silly audit report       severity: 'moderate',
373 silly audit report       vulnerable_versions: '<4.1.3',
373 silly audit report       cwe: [Array],
373 silly audit report       cvss: [Object]
373 silly audit report     }
373 silly audit report   ]
373 silly audit report }
374 timing metavuln:cache:get:security-advisory:ecstatic:M4JEnnLybv5z0hVIhQV1QJ7g4fGZlGLiItuYuggh2SfOGhwTCH7LCbhS5vgq9JVXf3Uqf22Ro5JKcLK4CTLn8g== Completed in 3ms
375 http fetch GET 200 https://registry.npmjs.org/ecstatic 7ms (cache hit)
376 timing metavuln:packument:ecstatic Completed in 9ms
377 timing metavuln:load:security-advisory:ecstatic:1082441 Completed in 2ms
378 timing metavuln:calculate:security-advisory:ecstatic:1082441 Completed in 12ms
379 timing metavuln:cache:get:security-advisory:http-server:8f3DkSNbWUbwomfavT/JHMKhUbQpP8JKAUqw2Y0+cvx90I1K3/zV0RlSSCoBJysGNsVr6Aqmq18ZJpAQhzs2Rg== Completed in 2ms
380 http fetch GET 200 https://registry.npmjs.org/http-server 6ms (cache hit)
381 timing metavuln:packument:http-server Completed in 7ms
382 timing metavuln:load:security-advisory:http-server:M4JEnnLybv5z0hVIhQV1QJ7g4fGZlGLiItuYuggh2SfOGhwTCH7LCbhS5vgq9JVXf3Uqf22Ro5JKcLK4CTLn8g== Completed in 1ms
383 timing metavuln:calculate:security-advisory:http-server:M4JEnnLybv5z0hVIhQV1QJ7g4fGZlGLiItuYuggh2SfOGhwTCH7LCbhS5vgq9JVXf3Uqf22Ro5JKcLK4CTLn8g== Completed in 9ms
384 timing auditReport:init Completed in 27ms
385 timing reify:audit Completed in 699ms
386 info run canvas@2.10.1 install { code: 1, signal: null }
387 timing reify:rollback:createSparse Completed in 132ms
388 timing reify:rollback:retireShallow Completed in 0ms
389 timing command:i Completed in 8505ms
390 verbose stack Error: command failed
390 verbose stack     at ChildProcess.<anonymous> (C:\Users\dragn\AppData\Roaming\nvm\v18.11.0\node_modules\npm\node_modules\@npmcli\run-script\node_modules\@npmcli\promise-spawn\lib\index.js:63:27)
390 verbose stack     at ChildProcess.emit (node:events:513:28)
390 verbose stack     at maybeClose (node:internal/child_process:1091:16)
390 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
391 verbose pkgid canvas@2.10.1
392 verbose cwd C:\Users\dragn\Desktop\shapez.io-viewer
393 verbose Windows_NT 10.0.19044
394 verbose node v18.11.0
395 verbose npm  v8.19.2
396 error code 1
397 error path C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas
398 error command failed
399 error command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build --update-binary
400 error Warning: Missing input files:
400 error C:\GTK\bin\libpango-1.0-0.dll
400 error C:\GTK\bin\libfreetype-6.dll
400 error C:\GTK\bin\libgobject-2.0-0.dll
400 error C:\GTK\bin\libgmodule-2.0-0.dll
400 error C:\GTK\bin\libintl-8.dll
400 error C:\GTK\bin\libpangowin32-1.0-0.dll
400 error C:\GTK\bin\libpangoft2-1.0-0.dll
400 error C:\GTK\bin\libfontconfig-1.dll
400 error C:\GTK\bin\libglib-2.0-0.dll
400 error C:\GTK\bin\libgthread-2.0-0.dll
400 error C:\GTK\bin\libexpat-1.dll
400 error C:\GTK\bin\libcairo-2.dll
400 error C:\GTK\bin\zlib1.dll
400 error C:\GTK\bin\libpangocairo-1.0-0.dll
400 error C:\GTK\bin\libpng14-14.dll
400 error Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
400 error   Backend.cc
400 error C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas\src\backend\Backend.h(3,10): fatal  error C1083: Cannot open include file: 'cairo.h': No such file or directory [C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas\build\canvas.vcxproj]
400 error Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\dragn\AppData\Roaming\nvm\v18.11.0\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --update-binary --module=C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas\build\Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
401 error node-pre-gyp info it worked if it ends with ok
401 error node-pre-gyp info using node-pre-gyp@1.0.10
401 error node-pre-gyp info using node@18.11.0 | win32 | x64
401 error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-win32-unknown-x64.tar.gz
401 error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-win32-unknown-x64.tar.gz 
401 error node-pre-gyp WARN Pre-built binaries not installable for canvas@2.10.1 and node@18.11.0 (node-v108 ABI, unknown) (falling back to source compile with node-gyp) 
401 error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-win32-unknown-x64.tar.gz 
401 error gyp info it worked if it ends with ok
401 error gyp info using node-gyp@9.3.0
401 error gyp info using node@18.11.0 | win32 | x64
401 error gyp info ok 
401 error gyp info it worked if it ends with ok
401 error gyp info using node-gyp@9.3.0
401 error gyp info using node@18.11.0 | win32 | x64
401 error gyp info find Python using Python version 3.10.8 found at "C:\Users\dragn\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe"
401 error gyp info find VS using VS2022 (17.3.32929.385) found at:
401 error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
401 error gyp info find VS run with --verbose for detailed information
401 error gyp info spawn C:\Users\dragn\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe
401 error gyp info spawn args [
401 error gyp info spawn args   'C:\\Users\\dragn\\AppData\\Roaming\\nvm\\v18.11.0\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\node_modules\\node-gyp\\gyp\\gyp_main.py',
401 error gyp info spawn args   'binding.gyp',
401 error gyp info spawn args   '-f',
401 error gyp info spawn args   'msvs',
401 error gyp info spawn args   '-I',
401 error gyp info spawn args   'C:\\Users\\dragn\\Desktop\\shapez.io-viewer\\node_modules\\canvas\\build\\config.gypi',
401 error gyp info spawn args   '-I',
401 error gyp info spawn args   'C:\\Users\\dragn\\AppData\\Roaming\\nvm\\v18.11.0\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\node_modules\\node-gyp\\addon.gypi',
401 error gyp info spawn args   '-I',
401 error gyp info spawn args   'C:\\Users\\dragn\\AppData\\Local\\node-gyp\\Cache\\18.11.0\\include\\node\\common.gypi',
401 error gyp info spawn args   '-Dlibrary=shared_library',
401 error gyp info spawn args   '-Dvisibility=default',
401 error gyp info spawn args   '-Dnode_root_dir=C:\\Users\\dragn\\AppData\\Local\\node-gyp\\Cache\\18.11.0',
401 error gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\dragn\\AppData\\Roaming\\nvm\\v18.11.0\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\node_modules\\node-gyp',
401 error gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\dragn\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.11.0\\\\<(target_arch)\\\\node.lib',
401 error gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\dragn\\Desktop\\shapez.io-viewer\\node_modules\\canvas',
401 error gyp info spawn args   '-Dnode_engine=v8',
401 error gyp info spawn args   '--depth=.',
401 error gyp info spawn args   '--no-parallel',
401 error gyp info spawn args   '--generator-output',
401 error gyp info spawn args   'C:\\Users\\dragn\\Desktop\\shapez.io-viewer\\node_modules\\canvas\\build',
401 error gyp info spawn args   '-Goutput_dir=.'
401 error gyp info spawn args ]
401 error gyp info ok 
401 error gyp info it worked if it ends with ok
401 error gyp info using node-gyp@9.3.0
401 error gyp info using node@18.11.0 | win32 | x64
401 error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
401 error gyp info spawn args [
401 error gyp info spawn args   'build/binding.sln',
401 error gyp info spawn args   '/clp:Verbosity=minimal',
401 error gyp info spawn args   '/nologo',
401 error gyp info spawn args   '/p:Configuration=Release;Platform=x64'
401 error gyp info spawn args ]
401 error gyp ERR! build error 
401 error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
401 error gyp ERR! stack     at ChildProcess.onExit (C:\Users\dragn\AppData\Roaming\nvm\v18.11.0\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp\lib\build.js:203:23)
401 error gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
401 error gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
401 error gyp ERR! System Windows_NT 10.0.19044
401 error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dragn\\AppData\\Roaming\\nvm\\v18.11.0\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--update-binary" "--module=C:\\Users\\dragn\\Desktop\\shapez.io-viewer\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\Users\\dragn\\Desktop\\shapez.io-viewer\\node_modules\\canvas\\build\\Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
401 error gyp ERR! cwd C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas
401 error gyp ERR! node -v v18.11.0
401 error gyp ERR! node-gyp -v v9.3.0
401 error gyp ERR! not ok 
401 error node-pre-gyp ERR! build error 
401 error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\dragn\AppData\Roaming\nvm\v18.11.0\node_modules\npm\node_modules\@npmcli\run-script\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --update-binary --module=C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas\build\Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
401 error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
401 error node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
401 error node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
401 error node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
401 error node-pre-gyp ERR! System Windows_NT 10.0.19044
401 error node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dragn\\Desktop\\shapez.io-viewer\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
401 error node-pre-gyp ERR! cwd C:\Users\dragn\Desktop\shapez.io-viewer\node_modules\canvas
401 error node-pre-gyp ERR! node -v v18.11.0
401 error node-pre-gyp ERR! node-pre-gyp -v v1.0.10
401 error node-pre-gyp ERR! not ok
402 verbose exit 1
403 timing npm Completed in 8756ms
404 verbose unfinished npm timer reify 1666396799887
405 verbose unfinished npm timer reify:build 1666396801250
406 verbose unfinished npm timer build 1666396801250
407 verbose unfinished npm timer build:deps 1666396801251
408 verbose unfinished npm timer build:run:install 1666396801284
409 verbose unfinished npm timer build:run:install:node_modules/canvas 1666396801284
410 verbose code 1
411 error A complete log of this run can be found in:
411 error     C:\Users\dragn\AppData\Local\npm-cache\_logs\2022-10-21T23_59_59_661Z-debug-0.log

Your Environment

zbjornson commented 2 years ago

node-canvas v2.10.2 is now published with support for Node 18.