Closed Maxim-Mazurok closed 2 months ago
Does the install log show the URL that it tried to fetch?
Yes, found it:
npm error prebuild-install http request GET https://github.com/Automattic/node-canvas/releases/download/v3.0.0-rc2/canvas-v3.0.0-rc2-napi-v7-win32-x64.tar.gz
npm error prebuild-install http 404 https://github.com/Automattic/node-canvas/releases/download/v3.0.0-rc2/canvas-v3.0.0-rc2-napi-v7-win32-x64.tar.gz
Here's full npm i canvas@next --loglevel silly
log:
npm verbose cli C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node.exe C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\bin\npm-cli.js
npm info using npm@10.8.1
npm info using node@v20.16.0
npm silly config load:file:C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\npmrc
npm silly config load:file:C:\Users\maxim.mazurok\tmp\.npmrc
npm silly config load:file:C:\Users\maxim.mazurok\.npmrc
npm silly config load:file:C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\etc\npmrc
npm verbose title npm install canvas@next
npm verbose argv "install" "canvas@next" "--loglevel" "silly"
npm verbose logfile logs-max:10 dir:C:\Users\maxim.mazurok\AppData\Local\npm-cache\_logs\2024-08-17T09_44_59_553Z-
npm verbose logfile C:\Users\maxim.mazurok\AppData\Local\npm-cache\_logs\2024-08-17T09_44_59_553Z-debug-0.log
npm silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
npm silly logfile start cleaning logs, removing 2 files
npm silly logfile done cleaning log files
npm silly packumentCache corgi:https://registry.npmjs.org/canvas cache-miss
npm verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
npm http fetch GET 200 https://registry.npmjs.org/canvas 117ms (cache revalidated)
npm silly packumentCache corgi:https://registry.npmjs.org/canvas set size:126767 disposed:false
npm silly idealTree buildDeps
npm silly fetch manifest canvas@3.0.0-rc2
npm silly packumentCache full:https://registry.npmjs.org/canvas cache-miss
npm http fetch GET 200 https://registry.npmjs.org/canvas 46ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/canvas set size:637051 disposed:false
npm silly placeDep ROOT canvas@3.0.0-rc2 OK for: tmp@1.0.0 want: 3.0.0-rc2
npm silly fetch manifest node-addon-api@^7.0.0
npm silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-miss
npm silly fetch manifest prebuild-install@^7.1.1
npm silly packumentCache full:https://registry.npmjs.org/prebuild-install cache-miss
npm silly fetch manifest simple-get@^3.0.3
npm silly packumentCache full:https://registry.npmjs.org/simple-get cache-miss
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 74ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/prebuild-install set size:175769 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/simple-get 100ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/simple-get set size:90014 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 118ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/node-addon-api set size:262335 disposed:false
npm silly placeDep ROOT node-addon-api@7.1.1 OK for: canvas@3.0.0-rc2 want: ^7.0.0
npm silly placeDep ROOT prebuild-install@7.1.2 OK for: canvas@3.0.0-rc2 want: ^7.1.1
npm silly placeDep ROOT simple-get@3.1.1 OK for: canvas@3.0.0-rc2 want: ^3.0.3
npm silly fetch manifest detect-libc@^2.0.0
npm silly packumentCache full:https://registry.npmjs.org/detect-libc cache-miss
npm silly fetch manifest expand-template@^2.0.3
npm silly packumentCache full:https://registry.npmjs.org/expand-template cache-miss
npm silly fetch manifest github-from-package@0.0.0
npm silly packumentCache full:https://registry.npmjs.org/github-from-package cache-miss
npm silly fetch manifest minimist@^1.2.3
npm silly packumentCache full:https://registry.npmjs.org/minimist cache-miss
npm silly fetch manifest mkdirp-classic@^0.5.3
npm silly packumentCache full:https://registry.npmjs.org/mkdirp-classic cache-miss
npm silly fetch manifest napi-build-utils@^1.0.1
npm silly packumentCache full:https://registry.npmjs.org/napi-build-utils cache-miss
npm silly fetch manifest node-abi@^3.3.0
npm silly packumentCache full:https://registry.npmjs.org/node-abi cache-miss
npm silly fetch manifest pump@^3.0.0
npm silly packumentCache full:https://registry.npmjs.org/pump cache-miss
npm silly fetch manifest rc@^1.2.7
npm silly packumentCache full:https://registry.npmjs.org/rc cache-miss
npm silly fetch manifest simple-get@^4.0.0
npm silly packumentCache full:https://registry.npmjs.org/simple-get cache-hit
npm silly fetch manifest tar-fs@^2.0.0
npm silly packumentCache full:https://registry.npmjs.org/tar-fs cache-miss
npm silly fetch manifest tunnel-agent@^0.6.0
npm silly packumentCache full:https://registry.npmjs.org/tunnel-agent cache-miss
npm silly fetch manifest decompress-response@^4.2.0
npm silly packumentCache full:https://registry.npmjs.org/decompress-response cache-miss
npm silly fetch manifest once@^1.3.1
npm silly packumentCache full:https://registry.npmjs.org/once cache-miss
npm silly fetch manifest simple-concat@^1.0.0
npm silly packumentCache full:https://registry.npmjs.org/simple-concat cache-miss
npm http fetch GET 200 https://registry.npmjs.org/minimist 130ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/minimist set size:77097 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 142ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/detect-libc set size:36376 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 142ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/github-from-package set size:3718 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/pump 157ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/pump set size:34436 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/node-abi 162ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/node-abi set size:255091 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/expand-template 171ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/expand-template set size:23203 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 161ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/tar-fs set size:100330 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 165ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/decompress-response set size:34164 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 178ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/tunnel-agent set size:12847 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 178ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/simple-concat set size:6304 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/once 182ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/once set size:11768 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 195ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/napi-build-utils set size:11428 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/rc 792ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/rc set size:70435 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 839ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/mkdirp-classic set size:5503 disposed:false
npm silly placeDep ROOT detect-libc@2.0.3 OK for: prebuild-install@7.1.2 want: ^2.0.0
npm silly placeDep ROOT expand-template@2.0.3 OK for: prebuild-install@7.1.2 want: ^2.0.3
npm silly placeDep ROOT github-from-package@0.0.0 OK for: prebuild-install@7.1.2 want: 0.0.0
npm silly placeDep ROOT minimist@1.2.8 OK for: prebuild-install@7.1.2 want: ^1.2.3
npm silly placeDep ROOT mkdirp-classic@0.5.3 OK for: prebuild-install@7.1.2 want: ^0.5.3
npm silly placeDep ROOT napi-build-utils@1.0.2 OK for: prebuild-install@7.1.2 want: ^1.0.1
npm silly placeDep ROOT node-abi@3.65.0 OK for: prebuild-install@7.1.2 want: ^3.3.0
npm silly placeDep ROOT pump@3.0.0 OK for: prebuild-install@7.1.2 want: ^3.0.0
npm silly placeDep ROOT rc@1.2.8 OK for: prebuild-install@7.1.2 want: ^1.2.7
npm silly placeDep node_modules/prebuild-install simple-get@4.0.1 OK for: prebuild-install@7.1.2 want: ^4.0.0
npm silly placeDep ROOT tar-fs@2.1.1 OK for: prebuild-install@7.1.2 want: ^2.0.0
npm silly placeDep ROOT tunnel-agent@0.6.0 OK for: prebuild-install@7.1.2 want: ^0.6.0
npm silly fetch manifest semver@^7.3.5
npm silly packumentCache full:https://registry.npmjs.org/semver cache-miss
npm silly fetch manifest end-of-stream@^1.1.0
npm silly packumentCache full:https://registry.npmjs.org/end-of-stream cache-miss
npm silly fetch manifest deep-extend@^0.6.0
npm silly packumentCache full:https://registry.npmjs.org/deep-extend cache-miss
npm silly fetch manifest ini@~1.3.0
npm silly packumentCache full:https://registry.npmjs.org/ini cache-miss
npm silly fetch manifest strip-json-comments@~2.0.1
npm silly packumentCache full:https://registry.npmjs.org/strip-json-comments cache-miss
npm silly fetch manifest decompress-response@^6.0.0
npm silly packumentCache full:https://registry.npmjs.org/decompress-response cache-hit
npm silly fetch manifest chownr@^1.1.1
npm silly packumentCache full:https://registry.npmjs.org/chownr cache-miss
npm silly fetch manifest tar-stream@^2.1.4
npm silly packumentCache full:https://registry.npmjs.org/tar-stream cache-miss
npm silly fetch manifest safe-buffer@^5.0.1
npm silly packumentCache full:https://registry.npmjs.org/safe-buffer cache-miss
npm http fetch GET 200 https://registry.npmjs.org/ini 76ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/ini set size:52407 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 81ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/deep-extend set size:34472 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 83ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/strip-json-comments set size:39591 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 89ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/end-of-stream set size:26267 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/semver 92ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/semver set size:215945 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/chownr 102ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/chownr set size:22157 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 104ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/safe-buffer set size:41183 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 781ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/tar-stream set size:132366 disposed:false
npm silly placeDep ROOT semver@7.6.3 OK for: node-abi@3.65.0 want: ^7.3.5
npm silly placeDep ROOT end-of-stream@1.4.4 OK for: pump@3.0.0 want: ^1.1.0
npm silly placeDep ROOT once@1.4.0 OK for: pump@3.0.0 want: ^1.3.1
npm silly fetch manifest once@^1.4.0
npm silly packumentCache full:https://registry.npmjs.org/once cache-hit
npm silly fetch manifest wrappy@1
npm silly packumentCache full:https://registry.npmjs.org/wrappy cache-miss
npm http fetch GET 200 https://registry.npmjs.org/wrappy 70ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/wrappy set size:7682 disposed:false
npm silly placeDep ROOT wrappy@1.0.2 OK for: once@1.4.0 want: 1
npm silly placeDep ROOT deep-extend@0.6.0 OK for: rc@1.2.8 want: ^0.6.0
npm silly placeDep ROOT ini@1.3.8 OK for: rc@1.2.8 want: ~1.3.0
npm silly placeDep ROOT strip-json-comments@2.0.1 OK for: rc@1.2.8 want: ~2.0.1
npm silly placeDep ROOT decompress-response@4.2.1 OK for: simple-get@3.1.1 want: ^4.2.0
npm silly placeDep ROOT simple-concat@1.0.1 OK for: simple-get@3.1.1 want: ^1.0.0
npm silly fetch manifest mimic-response@^2.0.0
npm silly packumentCache full:https://registry.npmjs.org/mimic-response cache-miss
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 60ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/mimic-response set size:20174 disposed:false
npm silly placeDep ROOT mimic-response@2.1.0 OK for: decompress-response@4.2.1 want: ^2.0.0
npm silly placeDep ROOT chownr@1.1.4 OK for: tar-fs@2.1.1 want: ^1.1.1
npm silly placeDep ROOT tar-stream@2.2.0 OK for: tar-fs@2.1.1 want: ^2.1.4
npm silly fetch manifest bl@^4.0.3
npm silly packumentCache full:https://registry.npmjs.org/bl cache-miss
npm silly fetch manifest fs-constants@^1.0.0
npm silly packumentCache full:https://registry.npmjs.org/fs-constants cache-miss
npm silly fetch manifest inherits@^2.0.3
npm silly packumentCache full:https://registry.npmjs.org/inherits cache-miss
npm silly fetch manifest readable-stream@^3.1.1
npm silly packumentCache full:https://registry.npmjs.org/readable-stream cache-miss
npm http fetch GET 200 https://registry.npmjs.org/inherits 63ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/inherits set size:12925 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 64ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/readable-stream set size:272167 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/bl 74ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/bl set size:150889 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 88ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/fs-constants set size:3522 disposed:false
npm silly placeDep ROOT bl@4.1.0 OK for: tar-stream@2.2.0 want: ^4.0.3
npm silly placeDep ROOT fs-constants@1.0.0 OK for: tar-stream@2.2.0 want: ^1.0.0
npm silly placeDep ROOT inherits@2.0.4 OK for: tar-stream@2.2.0 want: ^2.0.3
npm silly placeDep ROOT readable-stream@3.6.2 OK for: tar-stream@2.2.0 want: ^3.1.1
npm silly fetch manifest buffer@^5.5.0
npm silly packumentCache full:https://registry.npmjs.org/buffer cache-miss
npm silly fetch manifest inherits@^2.0.4
npm silly packumentCache full:https://registry.npmjs.org/inherits cache-hit
npm silly fetch manifest readable-stream@^3.4.0
npm silly packumentCache full:https://registry.npmjs.org/readable-stream cache-hit
npm silly fetch manifest string_decoder@^1.1.1
npm silly packumentCache full:https://registry.npmjs.org/string_decoder cache-miss
npm silly fetch manifest util-deprecate@^1.0.1
npm silly packumentCache full:https://registry.npmjs.org/util-deprecate cache-miss
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 69ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/util-deprecate set size:6674 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 74ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/string_decoder set size:28441 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/buffer 81ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/buffer set size:280480 disposed:false
npm silly placeDep ROOT buffer@5.7.1 OK for: bl@4.1.0 want: ^5.5.0
npm silly fetch manifest base64-js@^1.3.1
npm silly packumentCache full:https://registry.npmjs.org/base64-js cache-miss
npm silly fetch manifest ieee754@^1.1.13
npm silly packumentCache full:https://registry.npmjs.org/ieee754 cache-miss
npm http fetch GET 200 https://registry.npmjs.org/base64-js 59ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/base64-js set size:41270 disposed:false
npm http fetch GET 200 https://registry.npmjs.org/ieee754 87ms (cache revalidated)
npm silly packumentCache full:https://registry.npmjs.org/ieee754 set size:34910 disposed:false
npm silly placeDep ROOT base64-js@1.5.1 OK for: buffer@5.7.1 want: ^1.3.1
npm silly placeDep ROOT ieee754@1.2.1 OK for: buffer@5.7.1 want: ^1.1.13
npm silly placeDep ROOT string_decoder@1.3.0 OK for: readable-stream@3.6.2 want: ^1.1.1
npm silly placeDep ROOT util-deprecate@1.0.2 OK for: readable-stream@3.6.2 want: ^1.0.1
npm silly fetch manifest safe-buffer@~5.2.0
npm silly packumentCache full:https://registry.npmjs.org/safe-buffer cache-hit
npm silly placeDep ROOT safe-buffer@5.2.1 OK for: string_decoder@1.3.0 want: ~5.2.0
npm silly placeDep node_modules/prebuild-install decompress-response@6.0.0 OK for: simple-get@4.0.1 want: ^6.0.0
npm silly fetch manifest mimic-response@^3.1.0
npm silly packumentCache full:https://registry.npmjs.org/mimic-response cache-hit
npm silly placeDep node_modules/prebuild-install mimic-response@3.1.0 OK for: decompress-response@6.0.0 want: ^3.1.0
npm silly reify moves {}
npm silly audit bulk request {
npm silly audit canvas: [ '3.0.0-rc2' ],
npm silly audit 'node-addon-api': [ '7.1.1' ],
npm silly audit 'prebuild-install': [ '7.1.2' ],
npm silly audit 'simple-get': [ '3.1.1', '4.0.1' ],
npm silly audit 'detect-libc': [ '2.0.3' ],
npm silly audit 'expand-template': [ '2.0.3' ],
npm silly audit 'github-from-package': [ '0.0.0' ],
npm silly audit minimist: [ '1.2.8' ],
npm silly audit 'mkdirp-classic': [ '0.5.3' ],
npm silly audit 'napi-build-utils': [ '1.0.2' ],
npm silly audit 'node-abi': [ '3.65.0' ],
npm silly audit pump: [ '3.0.0' ],
npm silly audit rc: [ '1.2.8' ],
npm silly audit 'tar-fs': [ '2.1.1' ],
npm silly audit 'tunnel-agent': [ '0.6.0' ],
npm silly audit semver: [ '7.6.3' ],
npm silly audit 'end-of-stream': [ '1.4.4' ],
npm silly audit once: [ '1.4.0' ],
npm silly audit wrappy: [ '1.0.2' ],
npm silly audit 'deep-extend': [ '0.6.0' ],
npm silly audit ini: [ '1.3.8' ],
npm silly audit 'strip-json-comments': [ '2.0.1' ],
npm silly audit 'decompress-response': [ '4.2.1', '6.0.0' ],
npm silly audit 'simple-concat': [ '1.0.1' ],
npm silly audit 'mimic-response': [ '2.1.0', '3.1.0' ],
npm silly audit chownr: [ '1.1.4' ],
npm silly audit 'tar-stream': [ '2.2.0' ],
npm silly audit bl: [ '4.1.0' ],
npm silly audit 'fs-constants': [ '1.0.0' ],
npm silly audit inherits: [ '2.0.4' ],
npm silly audit 'readable-stream': [ '3.6.2' ],
npm silly audit buffer: [ '5.7.1' ],
npm silly audit 'base64-js': [ '1.5.1' ],
npm silly audit ieee754: [ '1.2.1' ],
npm silly audit string_decoder: [ '1.3.0' ],
npm silly audit 'util-deprecate': [ '1.0.2' ],
npm silly audit 'safe-buffer': [ '5.2.1' ]
npm silly audit }
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 201ms
npm silly audit report {}
npm info run canvas@3.0.0-rc2 install node_modules/canvas prebuild-install -r napi || node-gyp rebuild
npm info run canvas@3.0.0-rc2 install { code: 1, signal: null }
npm verbose stack Error: command failed
npm verbose stack at promiseSpawn (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:22:22)
npm verbose stack at spawnWithShell (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:124:10)
npm verbose stack at promiseSpawn (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:12:12)
npm verbose stack at runScriptPkg (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script-pkg.js:77:13)
npm verbose stack at runScript (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\@npmcli\run-script\lib\run-script.js:9:12)
npm verbose stack at C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\rebuild.js:329:17
npm verbose stack at run (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:67:22)
npm verbose stack at C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:84:9
npm verbose stack at new Promise (<anonymous>)
npm verbose stack at callLimit (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\promise-call-limit\dist\commonjs\index.js:35:69)
npm verbose pkgid canvas@3.0.0-rc2
npm error code 1
npm error path C:\Users\maxim.mazurok\tmp\node_modules\canvas
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install -r napi || node-gyp rebuild
npm error Warning: Missing input files:
npm error C:\GTK\bin\libglib-2.0-0.dll
npm error C:\GTK\bin\libfreetype-6.dll
npm error C:\GTK\bin\libgmodule-2.0-0.dll
npm error C:\GTK\bin\libpangocairo-1.0-0.dll
npm error C:\GTK\bin\libpango-1.0-0.dll
npm error C:\GTK\bin\libpangowin32-1.0-0.dll
npm error C:\GTK\bin\libcairo-2.dll
npm error C:\GTK\bin\zlib1.dll
npm error C:\GTK\bin\libpangoft2-1.0-0.dll
npm error C:\GTK\bin\libfontconfig-1.dll
npm error C:\GTK\bin\libgobject-2.0-0.dll
npm error C:\GTK\bin\libpng14-14.dll
npm error C:\GTK\bin\libgthread-2.0-0.dll
npm error C:\GTK\bin\libexpat-1.dll
npm error C:\GTK\bin\libintl-8.dll
npm error Build started 17-Aug-2024 7:45:19 PM.
npm error
npm error Project "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\binding.sln" on node 1 (default targets).
npm error ValidateSolutionConfiguration:
npm error Building solution configuration "Release|x64".
npm error Project "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\binding.sln" (1) is building "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas-postbuild.vcxproj.metaproj" (2) on node 1 (default targets).
npm error Project "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas-postbuild.vcxproj.metaproj" (2) is building "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas.vcxproj" (3) on node 1 (default targets).
npm error PrepareForBuild:
npm error Creating directory "Release\obj\canvas\".
npm error Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
npm error Creating directory "Release\obj\canvas\canvas.tlog\".
npm error InitializeBuildStatus:
npm error Creating "Release\obj\canvas\canvas.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
npm error Touching "Release\obj\canvas\canvas.tlog\unsuccessfulbuild".
npm error MakeDirsForCl:
npm error Creating directory "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\Release\obj\canvas\src\backend".
npm error Creating directory "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\Release\obj\canvas\src\bmp".
npm error ClCompile:
npm error C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.40.33807\bin\HostX64\x64\CL.exe /c /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\include\node" /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\src" /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\deps\openssl\config" /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\deps\openssl\openssl\include" /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\deps\uv\include" /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\deps\zlib" /I"C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0\deps\v8\include" /I"..\..\node-addon-api" /IC:\GTK\include /IC:\GTK\include\cairo /I"C:\GTK\include\pango-1.0" /I"C:\GTK\include\glib-2.0" /IC:\GTK\include\freetype2 /I"C:\GTK\lib\glib-2.0\include" /Z7 /nologo /W4 /WX- /diagnostics:column /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=canvas /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D _GLIBCXX_USE_CXX11_ABI=1 /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D OPENSSL_NO_PINSHARED /D OPENSSL_THREADS /D NAPI_DISABLE_CPP_EXCEPTIONS /D NODE_ADDON_API_ENABLE_MAYBE /D _USE_MATH_DEFINES /D NOMINMAX /D BUILDING_NODE_EXTENSION /D "HOST_BINARY=\"node.exe\"" /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\canvas\\src\backend\Backend.obj" /Fd"Release\obj\canvas\vc143.pdb" /external:W4 /Gd /TP /wd4100 /wd4611 /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue /Zc:__cplusplus -std:c++17 ..\src\backend\Backend.cc
npm error Backend.cc
npm error C:\Users\maxim.mazurok\tmp\node_modules\canvas\src\backend\Backend.h(3,10): error C1083: Cannot open include file: 'cairo.h': No such file or directory [C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas.vcxproj]
npm error (compiling source file '../src/backend/Backend.cc')
npm error
npm error Done Building Project "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas.vcxproj" (default targets) -- FAILED.
npm error Done Building Project "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas-postbuild.vcxproj.metaproj" (default targets) -- FAILED.
npm error Done Building Project "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\binding.sln" (default targets) -- FAILED.
npm error
npm error Build FAILED.
npm error
npm error "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\binding.sln" (default target) (1) ->
npm error "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas-postbuild.vcxproj.metaproj" (default target) (2) ->
npm error "C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas.vcxproj" (default target) (3) ->
npm error (ClCompile target) ->
npm error C:\Users\maxim.mazurok\tmp\node_modules\canvas\src\backend\Backend.h(3,10): error C1083: Cannot open include file: 'cairo.h': No such file or directory [C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\canvas.vcxproj]
npm error
npm error 0 Warning(s)
npm error 1 Error(s)
npm error
npm error Time Elapsed 00:00:00.29
npm error prebuild-install info begin Prebuild-install version 7.1.2
npm error prebuild-install info looking for local prebuild @ prebuilds\canvas-v3.0.0-rc2-napi-v7-win32-x64.tar.gz
npm error prebuild-install info looking for cached prebuild @ C:\Users\maxim.mazurok\AppData\Local\npm-cache\_prebuilds\0b3360-canvas-v3.0.0-rc2-napi-v7-win32-x64.tar.gz
npm error prebuild-install http request GET https://github.com/Automattic/node-canvas/releases/download/v3.0.0-rc2/canvas-v3.0.0-rc2-napi-v7-win32-x64.tar.gz
npm error prebuild-install http 404 https://github.com/Automattic/node-canvas/releases/download/v3.0.0-rc2/canvas-v3.0.0-rc2-napi-v7-win32-x64.tar.gz
npm error prebuild-install warn install No prebuilt binaries found (target=7 runtime=napi arch=x64 libc= platform=win32)
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node.exe',
npm error gyp verb cli 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm error gyp verb cli 'rebuild'
npm error gyp verb cli ]
npm error gyp info using node-gyp@10.1.0
npm error gyp info using node@20.16.0 | win32 | x64
npm error gyp verb clean removing "build" directory
npm error gyp verb find Python Python is not set from command line or npm configuration
npm error gyp verb find Python Python is not set from environment variable PYTHON
npm error gyp verb find Python checking if the py launcher can be used to find Python 3
npm error gyp verb find Python - executing "py.exe" to get Python 3 executable path
npm error gyp sill find Python execFile: exec = "py.exe"
npm error gyp sill find Python execFile: args = ["-3","-c","import sys; sys.stdout.buffer.write(sys.executable.encode('utf-8'));"]
npm error gyp sill find Python execFile: opts = {"env":{"ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\maxim.mazurok\\AppData\\Roaming","COLOR":"1","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"64QHKR3","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","CUDA_PATH_V11_7":"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7","DEBUG":"*","DEPOT_TOOLS_WIN_TOOLCHAIN":"0","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","EDITOR":"C:\\WINDOWS\\notepad.exe","EFC_21912":"1","HOME":"C:\\Users\\maxim.mazurok","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\maxim.mazurok","IGCCSVC_DB":"AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAswqFVxnUZ0myOqqP4Y8TbgQAAAACAAAAAAAQZgAAAAEAACAAAABlc8j2BLD7Hxkirf7qqn6Vknz7i5v7X2OLAblCd0dsuQAAAAAOgAAAAAIAACAAAAB8MqIOJZvilQXyzDMEaffX6Ijj+vFAAY7r+Mu4BFbfuWAAAAAaSEr2NBE6mMRr+79+e7dDzBARvRoeUruT1znSszBxOjzmS4dpdS/GpEBEEy/7Z4O43l+lthfq0QkbzPAXGPSRa9d4ut9nUZUlF2P1uyGRkGSM1Le4rvo4bgwRIWIbzTNAAAAArHfL3F+gD3kSUww6q5P6cKoyi7p9w6063r8Ic+VQ74NEcY65WLyMj2xMqJGz+U8aGnKY0KwhsxzvePYvjE/Wzw==","INIT_CWD":"C:\\Users\\maxim.mazurok\\tmp","LOCALAPPDATA":"C:\\Users\\maxim.mazurok\\AppData\\Local","LOGONSERVER":"\\\\SYDCO-SADS-3","NODE":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node.exe","npm_command":"install","npm_config_cache":"C:\\Users\\maxim.mazurok\\AppData\\Local\\npm-cache","npm_config_globalconfig":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\etc\\npmrc","npm_config_global_prefix":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64","npm_config_init_module":"C:\\Users\\maxim.mazurok\\.npm-init.js","npm_config_local_prefix":"C:\\Users\\maxim.mazurok\\tmp","npm_config_loglevel":"silly","npm_config_node_gyp":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js","npm_config_noproxy":"","npm_config_npm_version":"10.8.1","npm_config_prefix":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64","npm_config_userconfig":"C:\\Users\\maxim.mazurok\\.npmrc","npm_config_user_agent":"npm/10.8.1 node/v20.16.0 win32 x64 workspaces/false","npm_execpath":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\bin\\npm-cli.js","npm_lifecycle_event":"install","npm_lifecycle_script":"prebuild-install -r napi || node-gyp rebuild","npm_node_execpath":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node.exe","npm_package_dev":"","npm_package_dev_optional":"","npm_package_engines_node":"^18.12.0 || >= 20.9.0","npm_package_integrity":"sha512-esx4bYDznnqgRX4G8kaEaf0W3q8xIc51WpmrIitDzmcoEgwnv9wSKdzT6UxWZ4wkVu5+ileofppX0TpyviJRdQ==","npm_package_json":"C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas\\package.json","npm_package_name":"canvas","npm_package_optional":"","npm_package_peer":"","npm_package_resolved":"https://registry.npmjs.org/canvas/-/canvas-3.0.0-rc2.tgz","npm_package_version":"3.0.0-rc2","NUMBER_OF_PROCESSORS":"20","NVS_EXITCODE":"0","NVS_HOME":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\","NVTOOLSEXT_PATH":"C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\","OneDrive":"C:\\Users\\maxim.mazurok\\OneDrive - WiseTech Global Pty Ltd","OneDriveCommercial":"C:\\Users\\maxim.mazurok\\OneDrive - WiseTech Global Pty Ltd","OneDriveSync":"C:\\Users\\maxim.mazurok\\OneDrive - WiseTech Global Pty Ltd","OS":"Windows_NT","Path":"C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\tmp\\node_modules\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\tmp\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\libnvvp;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2022.2.0\\;C:\\aliases;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\WindowsPowerShell\\Scripts;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Git\\cmd;C:\\Users\\maxim.mazurok\\.cargo\\bin;C:\\Users\\maxim.mazurok\\scoop\\shims;C:\\src\\depot_tools;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Program Files\\RedHat\\Podman;C:\\Users\\maxim.mazurok\\.dotnet\\tools;C:\\Program Files (x86)\\BrowserStackLocal\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\JetBrains\\Toolbox\\scripts;C:\\Users\\maxim.mazurok\\.dotnet\\tools;C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Enterprise","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 154 Stepping 3, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"9a03","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PROMPT":"$P$G","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"Console","SNOW_AGENT":"C:\\Program Files\\Snow Software\\Inventory\\Agent\\","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\maxim.mazurok\\AppData\\Local\\Temp","TMP":"C:\\Users\\maxim.mazurok\\AppData\\Local\\Temp","UATDATA":"C:\\WINDOWS\\CCM\\UATData\\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77","USERDNSDOMAIN":"WTG.ZONE","USERDOMAIN":"CORP","USERDOMAIN_ROAMINGPROFILE":"CORP","USERNAME":"Maxim.Mazurok","USERPROFILE":"C:\\Users\\maxim.mazurok","VBOX_MSI_INSTALL_PATH":"C:\\Program Files\\Oracle\\VirtualBox\\","windir":"C:\\WINDOWS","ZES_ENABLE_SYSMAN":"1","TERM":"dumb"},"shell":false}
npm error gyp sill find Python execFile result: err = null
npm error gyp sill find Python execFile result: stdout = "C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\python.exe"
npm error gyp sill find Python execFile result: stderr = ""
npm error gyp verb find Python - executable path is "C:\Users\maxim.mazurok\AppData\Local\Programs\Python\Python310\python.exe"
npm error gyp verb find Python - executing "C:\Users\maxim.mazurok\AppData\Local\Programs\Python\Python310\python.exe" to get version
npm error gyp sill find Python execFile: exec = "C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\python.exe"
npm error gyp sill find Python execFile: args = ["-c","import sys; print(\"%s.%s.%s\" % sys.version_info[:3]);"]
npm error gyp sill find Python execFile: opts = {"env":{"ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\maxim.mazurok\\AppData\\Roaming","COLOR":"1","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"64QHKR3","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","CUDA_PATH_V11_7":"C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7","DEBUG":"*","DEPOT_TOOLS_WIN_TOOLCHAIN":"0","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","EDITOR":"C:\\WINDOWS\\notepad.exe","EFC_21912":"1","HOME":"C:\\Users\\maxim.mazurok","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\maxim.mazurok","IGCCSVC_DB":"AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAswqFVxnUZ0myOqqP4Y8TbgQAAAACAAAAAAAQZgAAAAEAACAAAABlc8j2BLD7Hxkirf7qqn6Vknz7i5v7X2OLAblCd0dsuQAAAAAOgAAAAAIAACAAAAB8MqIOJZvilQXyzDMEaffX6Ijj+vFAAY7r+Mu4BFbfuWAAAAAaSEr2NBE6mMRr+79+e7dDzBARvRoeUruT1znSszBxOjzmS4dpdS/GpEBEEy/7Z4O43l+lthfq0QkbzPAXGPSRa9d4ut9nUZUlF2P1uyGRkGSM1Le4rvo4bgwRIWIbzTNAAAAArHfL3F+gD3kSUww6q5P6cKoyi7p9w6063r8Ic+VQ74NEcY65WLyMj2xMqJGz+U8aGnKY0KwhsxzvePYvjE/Wzw==","INIT_CWD":"C:\\Users\\maxim.mazurok\\tmp","LOCALAPPDATA":"C:\\Users\\maxim.mazurok\\AppData\\Local","LOGONSERVER":"\\\\SYDCO-SADS-3","NODE":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node.exe","npm_command":"install","npm_config_cache":"C:\\Users\\maxim.mazurok\\AppData\\Local\\npm-cache","npm_config_globalconfig":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\etc\\npmrc","npm_config_global_prefix":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64","npm_config_init_module":"C:\\Users\\maxim.mazurok\\.npm-init.js","npm_config_local_prefix":"C:\\Users\\maxim.mazurok\\tmp","npm_config_loglevel":"silly","npm_config_node_gyp":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js","npm_config_noproxy":"","npm_config_npm_version":"10.8.1","npm_config_prefix":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64","npm_config_userconfig":"C:\\Users\\maxim.mazurok\\.npmrc","npm_config_user_agent":"npm/10.8.1 node/v20.16.0 win32 x64 workspaces/false","npm_execpath":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\bin\\npm-cli.js","npm_lifecycle_event":"install","npm_lifecycle_script":"prebuild-install -r napi || node-gyp rebuild","npm_node_execpath":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node.exe","npm_package_dev":"","npm_package_dev_optional":"","npm_package_engines_node":"^18.12.0 || >= 20.9.0","npm_package_integrity":"sha512-esx4bYDznnqgRX4G8kaEaf0W3q8xIc51WpmrIitDzmcoEgwnv9wSKdzT6UxWZ4wkVu5+ileofppX0TpyviJRdQ==","npm_package_json":"C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas\\package.json","npm_package_name":"canvas","npm_package_optional":"","npm_package_peer":"","npm_package_resolved":"https://registry.npmjs.org/canvas/-/canvas-3.0.0-rc2.tgz","npm_package_version":"3.0.0-rc2","NUMBER_OF_PROCESSORS":"20","NVS_EXITCODE":"0","NVS_HOME":"C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\","NVTOOLSEXT_PATH":"C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\","OneDrive":"C:\\Users\\maxim.mazurok\\OneDrive - WiseTech Global Pty Ltd","OneDriveCommercial":"C:\\Users\\maxim.mazurok\\OneDrive - WiseTech Global Pty Ltd","OneDriveSync":"C:\\Users\\maxim.mazurok\\OneDrive - WiseTech Global Pty Ltd","OS":"Windows_NT","Path":"C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\tmp\\node_modules\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\tmp\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\node_modules\\.bin;C:\\Users\\node_modules\\.bin;C:\\node_modules\\.bin;C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\@npmcli\\run-script\\lib\\node-gyp-bin;C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\libnvvp;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2022.2.0\\;C:\\aliases;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\WindowsPowerShell\\Scripts;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Git\\cmd;C:\\Users\\maxim.mazurok\\.cargo\\bin;C:\\Users\\maxim.mazurok\\scoop\\shims;C:\\src\\depot_tools;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Program Files\\RedHat\\Podman;C:\\Users\\maxim.mazurok\\.dotnet\\tools;C:\\Program Files (x86)\\BrowserStackLocal\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\JetBrains\\Toolbox\\scripts;C:\\Users\\maxim.mazurok\\.dotnet\\tools;C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\;C:\\Users\\maxim.mazurok\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Microsoft VS Code Insiders\\bin","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","POWERSHELL_DISTRIBUTION_CHANNEL":"MSI:Windows 10 Enterprise","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 154 Stepping 3, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"9a03","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PROMPT":"$P$G","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"Console","SNOW_AGENT":"C:\\Program Files\\Snow Software\\Inventory\\Agent\\","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\maxim.mazurok\\AppData\\Local\\Temp","TMP":"C:\\Users\\maxim.mazurok\\AppData\\Local\\Temp","UATDATA":"C:\\WINDOWS\\CCM\\UATData\\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77","USERDNSDOMAIN":"WTG.ZONE","USERDOMAIN":"CORP","USERDOMAIN_ROAMINGPROFILE":"CORP","USERNAME":"Maxim.Mazurok","USERPROFILE":"C:\\Users\\maxim.mazurok","VBOX_MSI_INSTALL_PATH":"C:\\Program Files\\Oracle\\VirtualBox\\","windir":"C:\\WINDOWS","ZES_ENABLE_SYSMAN":"1","TERM":"dumb"},"shell":false}
npm error gyp sill find Python execFile result: err = null
npm error gyp sill find Python execFile result: stdout = "3.10.6\r\n"
npm error gyp sill find Python execFile result: stderr = ""
npm error gyp verb find Python - version is "3.10.6"
npm error gyp info find Python using Python version 3.10.6 found at "C:\Users\maxim.mazurok\AppData\Local\Programs\Python\Python310\python.exe"
npm error gyp verb get node dir no --target version specified, falling back to host node version: 20.16.0
npm error gyp verb install input version string "20.16.0"
npm error gyp verb install installing version: 20.16.0
npm error gyp verb install --ensure was passed, so won't reinstall if already installed
npm error gyp verb install version is already installed, need to check "installVersion"
npm error gyp verb got "installVersion" 11
npm error gyp verb needs "installVersion" 11
npm error gyp verb install version is good
npm error gyp verb on Windows; need to check node.lib
npm error gyp verb get node dir target node version installed: 20.16.0
npm error gyp verb build dir attempting to create "build" dir: C:\Users\maxim.mazurok\tmp\node_modules\canvas\build
npm error gyp verb build dir "build" dir needed to be created? Yes
npm error gyp verb find VS msvs_version not set from command line or npm config
npm error gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm error gyp sill find VS Running C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe [
npm error gyp sill find VS '-NoProfile',
npm error gyp sill find VS '-Command',
npm error gyp sill find VS '&{@(Get-Module -ListAvailable -Name VSSetup).Version.ToString()}'
npm error gyp sill find VS ]
npm error gyp sill find VS Running C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe [
npm error gyp sill find VS '-NoProfile',
npm error gyp sill find VS '-Command',
npm error gyp sill find VS '&{Get-VSSetupInstance | ConvertTo-Json -Depth 3}'
npm error gyp sill find VS ]
npm error gyp sill find VS PS stderr = "Get-VSSetupInstance : The term 'Get-VSSetupInstance' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\nAt line:1 char:3\r\n+ &{Get-VSSetupInstance | ConvertTo-Json -Depth 3}\r\n+ ~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (Get-VSSetupInstance:String) [], CommandNotFoundException\r\n + FullyQualifiedErrorId : CommandNotFoundException\r\n \r\n"
npm error gyp sill find VS PS stdout = ""
npm error gyp sill find VS SyntaxError: Unexpected end of JSON input
npm error gyp sill find VS at JSON.parse (<anonymous>)
npm error gyp sill find VS at VisualStudioFinder.parseData (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:242:21)
npm error gyp sill find VS at VisualStudioFinder.findNewVSUsingSetupModule (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:158:27)
npm error gyp sill find VS at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm error gyp sill find VS at async VisualStudioFinder.findVisualStudio (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:66:20)
npm error gyp sill find VS at async createBuildDir (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\node-gyp\lib\configure.js:95:26)
npm error gyp sill find VS at async run (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
npm error gyp verb find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
npm error gyp verb find VS
npm error gyp verb find VS Failure details: undefined
npm error gyp sill find VS Running C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe [
npm error gyp sill find VS '-ExecutionPolicy',
npm error gyp sill find VS 'Unrestricted',
npm error gyp sill find VS '-NoProfile',
npm error gyp sill find VS '-Command',
npm error gyp sill find VS "&{Add-Type -Path 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\lib\\Find-VisualStudio.cs';[VisualStudioConfiguration.Main]::PrintJson()}"
npm error gyp sill find VS ]
npm error gyp sill find VS PS stderr = ""
npm error gyp sill find VS processing installation: "C:\Program Files\Microsoft Visual Studio\2022\Professional"
npm error gyp sill find VS - version match = ["17.10.35122.118","17","10"]
npm error gyp sill find VS - found VC.Tools.x86.x64
npm error gyp sill find VS - found Win10/11SDK: 19041
npm error gyp sill find VS - found Win10/11SDK: 22621
npm error gyp sill find VS vsInfo: [
npm error gyp sill find VS {
npm error gyp sill find VS version: '17.10.35122.118',
npm error gyp sill find VS versionMajor: 17,
npm error gyp sill find VS versionMinor: 10,
npm error gyp sill find VS versionYear: 2022,
npm error gyp sill find VS path: 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional',
npm error gyp sill find VS msBuild: 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\MSBuild\\Current\\Bin\\MSBuild.exe',
npm error gyp sill find VS toolset: 'v143',
npm error gyp sill find VS sdk: '10.0.22621.0'
npm error gyp sill find VS }
npm error gyp sill find VS ]
npm error gyp verb find VS checking VS2022 (17.10.35122.118) found at:
npm error gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
npm error gyp verb find VS - found "Visual Studio C++ core features"
npm error gyp verb find VS - found VC++ toolset: v143
npm error gyp verb find VS - found Windows SDK: 10.0.22621.0
npm error gyp info find VS using VS2022 (17.10.35122.118) found at:
npm error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp verb build/config.gypi creating config file
npm error gyp sill build/config.gypi {
npm error gyp sill build/config.gypi target_defaults: {
npm error gyp sill build/config.gypi cflags: [],
npm error gyp sill build/config.gypi default_configuration: 'Release',
npm error gyp sill build/config.gypi defines: [],
npm error gyp sill build/config.gypi include_dirs: [],
npm error gyp sill build/config.gypi libraries: [],
npm error gyp sill build/config.gypi msbuild_toolset: 'v143',
npm error gyp sill build/config.gypi msvs_windows_target_platform_version: '10.0.22621.0'
npm error gyp sill build/config.gypi },
npm error gyp sill build/config.gypi variables: {
npm error gyp sill build/config.gypi asan: 0,
npm error gyp sill build/config.gypi coverage: false,
npm error gyp sill build/config.gypi dcheck_always_on: 0,
npm error gyp sill build/config.gypi debug_nghttp2: false,
npm error gyp sill build/config.gypi debug_node: false,
npm error gyp sill build/config.gypi enable_lto: false,
npm error gyp sill build/config.gypi enable_pgo_generate: false,
npm error gyp sill build/config.gypi enable_pgo_use: false,
npm error gyp sill build/config.gypi error_on_warn: false,
npm error gyp sill build/config.gypi force_dynamic_crt: 0,
npm error gyp sill build/config.gypi host_arch: 'x64',
npm error gyp sill build/config.gypi icu_data_in: '..\\..\\deps\\icu-tmp\\icudt75l.dat',
npm error gyp sill build/config.gypi icu_endianness: 'l',
npm error gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
npm error gyp sill build/config.gypi icu_path: 'deps/icu-small',
npm error gyp sill build/config.gypi icu_small: false,
npm error gyp sill build/config.gypi icu_ver_major: '75',
npm error gyp sill build/config.gypi is_debug: 0,
npm error gyp sill build/config.gypi libdir: 'lib',
npm error gyp sill build/config.gypi llvm_version: '0.0',
npm error gyp sill build/config.gypi napi_build_version: '9',
npm error gyp sill build/config.gypi nasm_version: '2.16',
npm error gyp sill build/config.gypi node_builtin_shareable_builtins: [
npm error gyp sill build/config.gypi 'deps/cjs-module-lexer/lexer.js',
npm error gyp sill build/config.gypi 'deps/cjs-module-lexer/dist/lexer.js',
npm error gyp sill build/config.gypi 'deps/undici/undici.js'
npm error gyp sill build/config.gypi ],
npm error gyp sill build/config.gypi node_byteorder: 'little',
npm error gyp sill build/config.gypi node_debug_lib: false,
npm error gyp sill build/config.gypi node_enable_d8: false,
npm error gyp sill build/config.gypi node_enable_v8_vtunejit: false,
npm error gyp sill build/config.gypi node_fipsinstall: false,
npm error gyp sill build/config.gypi node_install_corepack: true,
npm error gyp sill build/config.gypi node_install_npm: true,
npm error gyp sill build/config.gypi node_library_files: [
npm error gyp sill build/config.gypi 'lib/_http_agent.js',
npm error gyp sill build/config.gypi 'lib/_http_client.js',
npm error gyp sill build/config.gypi 'lib/_http_common.js',
npm error gyp sill build/config.gypi 'lib/_http_incoming.js',
npm error gyp sill build/config.gypi 'lib/_http_outgoing.js',
npm error gyp sill build/config.gypi 'lib/_http_server.js',
npm error gyp sill build/config.gypi 'lib/_stream_duplex.js',
npm error gyp sill build/config.gypi 'lib/_stream_passthrough.js',
npm error gyp sill build/config.gypi 'lib/_stream_readable.js',
npm error gyp sill build/config.gypi 'lib/_stream_transform.js',
npm error gyp sill build/config.gypi 'lib/_stream_wrap.js',
npm error gyp sill build/config.gypi 'lib/_stream_writable.js',
npm error gyp sill build/config.gypi 'lib/_tls_common.js',
npm error gyp sill build/config.gypi 'lib/_tls_wrap.js',
npm error gyp sill build/config.gypi 'lib/assert.js',
npm error gyp sill build/config.gypi 'lib/assert/strict.js',
npm error gyp sill build/config.gypi 'lib/async_hooks.js',
npm error gyp sill build/config.gypi 'lib/buffer.js',
npm error gyp sill build/config.gypi 'lib/child_process.js',
npm error gyp sill build/config.gypi 'lib/cluster.js',
npm error gyp sill build/config.gypi 'lib/console.js',
npm error gyp sill build/config.gypi 'lib/constants.js',
npm error gyp sill build/config.gypi 'lib/crypto.js',
npm error gyp sill build/config.gypi 'lib/dgram.js',
npm error gyp sill build/config.gypi 'lib/diagnostics_channel.js',
npm error gyp sill build/config.gypi 'lib/dns.js',
npm error gyp sill build/config.gypi 'lib/dns/promises.js',
npm error gyp sill build/config.gypi 'lib/domain.js',
npm error gyp sill build/config.gypi 'lib/events.js',
npm error gyp sill build/config.gypi 'lib/fs.js',
npm error gyp sill build/config.gypi 'lib/fs/promises.js',
npm error gyp sill build/config.gypi 'lib/http.js',
npm error gyp sill build/config.gypi 'lib/http2.js',
npm error gyp sill build/config.gypi 'lib/https.js',
npm error gyp sill build/config.gypi 'lib/inspector.js',
npm error gyp sill build/config.gypi 'lib/inspector/promises.js',
npm error gyp sill build/config.gypi 'lib/internal/abort_controller.js',
npm error gyp sill build/config.gypi 'lib/internal/assert.js',
npm error gyp sill build/config.gypi 'lib/internal/assert/assertion_error.js',
npm error gyp sill build/config.gypi 'lib/internal/assert/calltracker.js',
npm error gyp sill build/config.gypi 'lib/internal/async_hooks.js',
npm error gyp sill build/config.gypi 'lib/internal/blob.js',
npm error gyp sill build/config.gypi 'lib/internal/blocklist.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/node.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/realm.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/shadow_realm.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/switches/does_not_own_process_state.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/switches/does_own_process_state.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/switches/is_main_thread.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/switches/is_not_main_thread.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/web/exposed-wildcard.js',
npm error gyp sill build/config.gypi 'lib/internal/bootstrap/web/exposed-window-or-worker.js',
npm error gyp sill build/config.gypi 'lib/internal/buffer.js',
npm error gyp sill build/config.gypi 'lib/internal/child_process.js',
npm error gyp sill build/config.gypi 'lib/internal/child_process/serialization.js',
npm error gyp sill build/config.gypi 'lib/internal/cli_table.js',
npm error gyp sill build/config.gypi 'lib/internal/cluster/child.js',
npm error gyp sill build/config.gypi 'lib/internal/cluster/primary.js',
npm error gyp sill build/config.gypi 'lib/internal/cluster/round_robin_handle.js',
npm error gyp sill build/config.gypi 'lib/internal/cluster/shared_handle.js',
npm error gyp sill build/config.gypi 'lib/internal/cluster/utils.js',
npm error gyp sill build/config.gypi 'lib/internal/cluster/worker.js',
npm error gyp sill build/config.gypi 'lib/internal/console/constructor.js',
npm error gyp sill build/config.gypi 'lib/internal/console/global.js',
npm error gyp sill build/config.gypi 'lib/internal/constants.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/aes.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/certificate.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/cfrg.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/cipher.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/diffiehellman.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/ec.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/hash.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/hashnames.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/hkdf.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/keygen.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/keys.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/mac.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/pbkdf2.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/random.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/rsa.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/scrypt.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/sig.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/util.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/webcrypto.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/webidl.js',
npm error gyp sill build/config.gypi 'lib/internal/crypto/x509.js',
npm error gyp sill build/config.gypi 'lib/internal/debugger/inspect.js',
npm error gyp sill build/config.gypi 'lib/internal/debugger/inspect_client.js',
npm error gyp sill build/config.gypi 'lib/internal/debugger/inspect_repl.js',
npm error gyp sill build/config.gypi 'lib/internal/dgram.js',
npm error gyp sill build/config.gypi 'lib/internal/dns/callback_resolver.js',
npm error gyp sill build/config.gypi 'lib/internal/dns/promises.js',
npm error gyp sill build/config.gypi 'lib/internal/dns/utils.js',
npm error gyp sill build/config.gypi 'lib/internal/encoding.js',
npm error gyp sill build/config.gypi 'lib/internal/error_serdes.js',
npm error gyp sill build/config.gypi 'lib/internal/errors.js',
npm error gyp sill build/config.gypi 'lib/internal/event_target.js',
npm error gyp sill build/config.gypi 'lib/internal/events/abort_listener.js',
npm error gyp sill build/config.gypi 'lib/internal/events/symbols.js',
npm error gyp sill build/config.gypi 'lib/internal/file.js',
npm error gyp sill build/config.gypi ... 214 more items
npm error gyp sill build/config.gypi ],
npm error gyp sill build/config.gypi node_module_version: 115,
npm error gyp sill build/config.gypi node_no_browser_globals: false,
npm error gyp sill build/config.gypi node_prefix: '\\usr\\local',
npm error gyp sill build/config.gypi node_release_urlbase: 'https://nodejs.org/download/release/',
npm error gyp sill build/config.gypi node_shared: false,
npm error gyp sill build/config.gypi node_shared_ada: false,
npm error gyp sill build/config.gypi node_shared_brotli: false,
npm error gyp sill build/config.gypi node_shared_cares: false,
npm error gyp sill build/config.gypi node_shared_http_parser: false,
npm error gyp sill build/config.gypi node_shared_libuv: false,
npm error gyp sill build/config.gypi node_shared_nghttp2: false,
npm error gyp sill build/config.gypi node_shared_nghttp3: false,
npm error gyp sill build/config.gypi node_shared_ngtcp2: false,
npm error gyp sill build/config.gypi node_shared_openssl: false,
npm error gyp sill build/config.gypi node_shared_simdjson: false,
npm error gyp sill build/config.gypi node_shared_simdutf: false,
npm error gyp sill build/config.gypi node_shared_zlib: false,
npm error gyp sill build/config.gypi node_tag: '',
npm error gyp sill build/config.gypi node_target_type: 'executable',
npm error gyp sill build/config.gypi node_use_bundled_v8: true,
npm error gyp sill build/config.gypi node_use_node_code_cache: true,
npm error gyp sill build/config.gypi node_use_node_snapshot: true,
npm error gyp sill build/config.gypi node_use_openssl: true,
npm error gyp sill build/config.gypi node_use_v8_platform: true,
npm error gyp sill build/config.gypi node_with_ltcg: true,
npm error gyp sill build/config.gypi node_without_node_options: false,
npm error gyp sill build/config.gypi node_write_snapshot_as_array_literals: true,
npm error gyp sill build/config.gypi openssl_is_fips: false,
npm error gyp sill build/config.gypi openssl_quic: true,
npm error gyp sill build/config.gypi ossfuzz: false,
npm error gyp sill build/config.gypi shlib_suffix: 'so.115',
npm error gyp sill build/config.gypi single_executable_application: true,
npm error gyp sill build/config.gypi target_arch: 'x64',
npm error gyp sill build/config.gypi ubsan: 0,
npm error gyp sill build/config.gypi use_prefix_to_find_headers: false,
npm error gyp sill build/config.gypi v8_enable_31bit_smis_on_64bit_arch: 0,
npm error gyp sill build/config.gypi v8_enable_extensible_ro_snapshot: 0,
npm error gyp sill build/config.gypi v8_enable_gdbjit: 0,
npm error gyp sill build/config.gypi v8_enable_hugepage: 0,
npm error gyp sill build/config.gypi v8_enable_i18n_support: 1,
npm error gyp sill build/config.gypi v8_enable_inspector: 1,
npm error gyp sill build/config.gypi v8_enable_javascript_promise_hooks: 1,
npm error gyp sill build/config.gypi v8_enable_lite_mode: 0,
npm error gyp sill build/config.gypi v8_enable_maglev: 0,
npm error gyp sill build/config.gypi v8_enable_object_print: 1,
npm error gyp sill build/config.gypi v8_enable_pointer_compression: 0,
npm error gyp sill build/config.gypi v8_enable_shared_ro_heap: 1,
npm error gyp sill build/config.gypi v8_enable_short_builtin_calls: 1,
npm error gyp sill build/config.gypi v8_enable_v8_checks: 0,
npm error gyp sill build/config.gypi v8_enable_webassembly: 1,
npm error gyp sill build/config.gypi v8_no_strict_aliasing: 1,
npm error gyp sill build/config.gypi v8_optimized_debug: 1,
npm error gyp sill build/config.gypi v8_promise_internal_field_count: 1,
npm error gyp sill build/config.gypi v8_random_seed: 0,
npm error gyp sill build/config.gypi v8_trace_maps: 0,
npm error gyp sill build/config.gypi v8_use_siphash: 1,
npm error gyp sill build/config.gypi want_separate_host_toolset: 0,
npm error gyp sill build/config.gypi nodedir: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\node-gyp\\Cache\\20.16.0',
npm error gyp sill build/config.gypi python: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\Programs\\Python\\Python310\\python.exe',
npm error gyp sill build/config.gypi standalone_static_library: 1,
npm error gyp sill build/config.gypi msbuild_path: 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\MSBuild\\Current\\Bin\\MSBuild.exe',
npm error gyp sill build/config.gypi cache: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\npm-cache',
npm error gyp sill build/config.gypi globalconfig: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\etc\\npmrc',
npm error gyp sill build/config.gypi global_prefix: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64',
npm error gyp sill build/config.gypi init_module: 'C:\\Users\\maxim.mazurok\\.npm-init.js',
npm error gyp sill build/config.gypi local_prefix: 'C:\\Users\\maxim.mazurok\\tmp',
npm error gyp sill build/config.gypi node_gyp: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm error gyp sill build/config.gypi npm_version: '10.8.1',
npm error gyp sill build/config.gypi prefix: 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64',
npm error gyp sill build/config.gypi userconfig: 'C:\\Users\\maxim.mazurok\\.npmrc',
npm error gyp sill build/config.gypi user_agent: 'npm/10.8.1 node/v20.16.0 win32 x64 workspaces/false'
npm error gyp sill build/config.gypi }
npm error gyp sill build/config.gypi }
npm error gyp verb build/config.gypi writing out config file: C:\Users\maxim.mazurok\tmp\node_modules\canvas\build\config.gypi
npm error gyp verb config.gypi checking for gypi file: C:\Users\maxim.mazurok\tmp\node_modules\canvas\config.gypi
npm error gyp verb common.gypi checking for gypi file: C:\Users\maxim.mazurok\tmp\node_modules\canvas\common.gypi
npm error gyp verb gyp gyp format was not specified; forcing "msvs"
npm error gyp info spawn C:\Users\maxim.mazurok\AppData\Local\Programs\Python\Python310\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas\\build\\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\maxim.mazurok\\AppData\\Local\\node-gyp\\Cache\\20.16.0\\include\\node\\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\maxim.mazurok\\AppData\\Local\\node-gyp\\Cache\\20.16.0',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\maxim.mazurok\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\20.16.0\\\\<(target_arch)\\\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\\Users\\maxim.mazurok\\tmp\\node_modules\\canvas\\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp verb build type Release
npm error gyp verb architecture x64
npm error gyp verb node dev dir C:\Users\maxim.mazurok\AppData\Local\node-gyp\Cache\20.16.0
npm error gyp verb python C:\Users\maxim.mazurok\AppData\Local\Programs\Python\Python310\python.exe
npm error gyp verb found first Solution file build\binding.sln
npm error gyp verb using MSBuild: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build\\binding.sln',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\maxim.mazurok\AppData\Local\nvs\node\20.16.0\x64\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node.exe" "C:\\Users\\maxim.mazurok\\AppData\\Local\\nvs\\node\\20.16.0\\x64\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\maxim.mazurok\tmp\node_modules\canvas
npm error gyp ERR! node -v v20.16.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm silly unfinished npm timer reify 1723887910581
npm silly unfinished npm timer reify:build 1723887913334
npm silly unfinished npm timer build 1723887913334
npm silly unfinished npm timer build:deps 1723887913335
npm silly unfinished npm timer build:run:install 1723887913363
npm silly unfinished npm timer build:run:install:node_modules/canvas 1723887913363
npm verbose cwd C:\Users\maxim.mazurok\tmp
npm verbose os Windows_NT 10.0.22631
npm verbose node v20.16.0
npm verbose npm v10.8.1
npm verbose exit 1
npm verbose code 1
npm error A complete log of this run can be found in: C:\Users\maxim.mazurok\AppData\Local\npm-cache\_logs\2024-08-17T09_44_59_553Z-debug-0.log
Seems like unknown
part of canvas-v3.0.0-rc2-napi-v7-win32unknown-x64.tar.gz
published file name is an extra, if it wasn't for it - prebuild would've been found.
Seems like
unknown
part ofcanvas-v3.0.0-rc2-napi-v7-win32unknown-x64.tar.gz
published file name is an extra, if it wasn't for it - prebuild would've been found.
With the caveat that I don't know anything about node-canvas
development, the following code is perhaps relevant here since the "unknown"-string is the fallback-value for the libc
parameter that's used when creating the filename:
https://github.com/Automattic/node-canvas/blob/8b238beb3c2c2569843ff672afbe731f15fd5769/prebuild/tarball.sh#L2-L9
Just an FYI for anyone who just wants to test something on node 22 that uses canvas.
In testing I was able to get it to work on windows by basically making a empty canvas folder in node_modules, copying the contents of this repo into the folder, then also copying the files from the misnamed windows file ( https://github.com/Automattic/node-canvas/releases/download/v3.0.0-rc2/canvas-v3.0.0-rc2-napi-v7-win32unknown-x64.tar.gz ) into that directory. Once I did that I was able to build my package and canvas worked.
This was for sure a hacky solution I wouldn't use anywhere but testing :-) It does show the package would probably work if this file was named correctly.
Thanks, I fixed the name of the bundle for both Windows and MacOS. Can you give it another try please?
Seems like it works for me now on windows with 3.0.0-rc2 on node 22
Works on Windows with 3.0.0-rc2 on node 20, closing, thanks!
Issue or Feature
Tried to
npm install canvas@next
on Windows with node 20 and 22, but it failed to find prebuilds:Your Environment
npm list canvas
oryarn list canvas
):3.0.0-rc2
v22.6.0
on Windows 11I know that I probably can do manual build, but I would rather not, will probably use Node v20 with canvas@2 prebuilds, just wanted to give feedback on the RC, cheers!