Automattic / node-canvas

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

Cant install node canvas on termux android #2131

Closed Nit-nit closed 2 years ago

Nit-nit commented 2 years ago
~ $ npm install canvas
[##################] - reify:nan: http fetch GET 200
> canvas@2.10.1 install
> node-pre-gyp install --fallback-to-build --update-binary

node-pre-gyp info[##################] / reify:nan: htt it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@1.0.10
node-pre-gyp info using node@18.10.0 | android | arm64
node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v108-android-unknown-arm64.tar.gz
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-android-unknown-arm64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.10.1 and node@18.10.0 (node-v108 ABI, unknown) (falling back to source compile with node-gyp)
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-android-unknown-arm64.tar.gz
gyp info it worked if it ends with okp fetch GET 200
gyp info using node-gyp@9.1.0
gyp info using node@18.10.0 | android | arm64
gyp info ok #######] / reify:nan: http fetch GET 200
gyp info it worked if it ends with okp fetch GET 200
gyp info using node-gyp@9.1.0nan: http fetch GET 200
gyp info using node@18.10.0 | android | arm64
gyp info find Python using Python version 3.10.7 found at "/data/data/com.termux/files/usr/bin/python3"
gyp info spawn /data/data/com.termux/files/usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/data/data/com.termux/files/home/node_modules/canvas/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/data/data/com.termux/files/home/.cache/node-gyp/18.10.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/data/data/com.termux/files/home/.cache/node-gyp/18.10.0',
gyp info spawn args   '-Dnode_gyp_dir=/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/data/data/com.termux/files/home/.cache/node-gyp/18.10.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/data/data/com.termux/files/home/node_modules/canvas',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pixman-1' found
gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error ify:nan: http fetch GET 200
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:284:16)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 4.9.186-perf-g131f907
gyp ERR! command "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/data/data/com.termux/files/home/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/data/data/com.termux/files/home/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
gyp ERR! cwd /data/data/com.termux/files/home/node_modules/canvas
gyp ERR! node -v v18.10.0
gyp ERR! node-gyp -v v9.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error an: http fetch GET 200
node-pre-gyp [##################] / reify:nan: http feERR! stack Error: Failed to execute '/data/data/com.termux/files/usr/bin/node /data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/data/data/com.termux/files/home/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/data/data/com.termux/files/home/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/data/data/com.termux/files/home/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
node-pre-gyp ERR! System Linux 4.9.186-perf-g131f907
node-pre-gyp ERR! command "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/home/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
node-pre-gyp ERR! cwd /data/data/com.termux/files/home/node_modules/canvas
node-pre-gyp ERR! node -v v18.10.0
node-pre-gyp ERR! node-pre-gyp -v v1.0.10
node-pre-gyp ERR! not ok
Failed to execute '/data/data/com.termux/files/usr/bin/node /data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/data/data/com.termux/files/home/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/data/data/com.termux/files/home/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
npm ERR! code 1
npm ERR! path /data/data/com.termux/files/home/node_modules/canvas
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build --update-binary

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2022-10-11T04_35_13_767Z-debug-0.log
Nit-nit commented 2 years ago
0 verbose cli /data/data/com.termux/files/usr/bin/node /data/data/com.termux/files/usr/bin/npm
1 info using npm@8.19.2
2 info using node@v18.10.0
3 timing npm:load:whichnode Completed in 3ms
4 timing config:load:defaults Completed in 19ms
5 timing config:load:file:/data/data/com.termux/files/usr/lib/node_modules/npm/npmrc Completed in 8ms
6 timing config:load:builtin Completed in 11ms
7 timing config:load:cli Completed in 15ms
8 timing config:load:env Completed in 4ms
9 timing config:load:project Completed in 23ms
10 timing config:load:file:/data/data/com.termux/files/home/.npmrc Completed in 13ms
11 timing config:load:user Completed in 14ms
12 timing config:load:file:/data/data/com.termux/files/usr/etc/npmrc Completed in 2ms
13 timing config:load:global Completed in 2ms
14 timing config:load:validate Completed in 6ms
15 timing config:load:credentials Completed in 19ms
16 timing config:load:setEnvs Completed in 12ms
17 timing config:load Completed in 137ms
18 timing npm:load:configload Completed in 139ms
19 timing npm:load:mkdirpcache Completed in 46ms
20 timing npm:load:mkdirplogs Completed in 7ms
21 verbose title npm install canvas
22 verbose argv "install" "canvas"
23 timing npm:load:setTitle Completed in 14ms
24 timing config:load:flatten Completed in 35ms
25 timing npm:load:display Completed in 55ms
26 verbose logfile logs-max:10 dir:/data/data/com.termux/files/home/.npm/_logs
27 verbose logfile /data/data/com.termux/files/home/.npm/_logs/2022-10-11T04_35_13_767Z-debug-0.log
28 timing npm:load:logFile Completed in 69ms
29 timing npm:load:timers Completed in 1ms
30 timing npm:load:configScope Completed in 0ms
31 timing npm:load Completed in 346ms
32 timing arborist:ctor Completed in 12ms
33 silly logfile done cleaning log files
34 timing idealTree:init Completed in 598ms
35 timing idealTree:userRequests Completed in 15ms
36 silly idealTree buildDeps
37 silly fetch manifest canvas@*
38 timing arborist:ctor Completed in 1ms
39 http fetch GET 200 https://registry.npmjs.org/canvas 2857ms (cache revalidated)
40 silly placeDep ROOT canvas@2.10.1 OK for:  want: *
41 silly fetch manifest @mapbox/node-pre-gyp@^1.0.0
42 silly fetch manifest nan@^2.15.0
43 silly fetch manifest simple-get@^3.0.3
44 http fetch GET 200 https://registry.npmjs.org/nan 1152ms (cache updated)
45 http fetch GET 200 https://registry.npmjs.org/@mapbox%2fnode-pre-gyp 1379ms (cache revalidated)
46 http fetch GET 200 https://registry.npmjs.org/simple-get 1454ms (cache revalidated)
47 timing idealTree:#root Completed in 4433ms
48 silly placeDep ROOT @mapbox/node-pre-gyp@1.0.10 OK for: canvas@2.10.1 want: ^1.0.0
49 silly placeDep ROOT nan@2.17.0 OK for: canvas@2.10.1 want: ^2.15.0
50 silly placeDep ROOT simple-get@3.1.1 OK for: canvas@2.10.1 want: ^3.0.3
51 silly fetch manifest detect-libc@^2.0.0
52 silly fetch manifest https-proxy-agent@^5.0.0
53 silly fetch manifest make-dir@^3.1.0
54 silly fetch manifest node-fetch@^2.6.7
55 silly fetch manifest nopt@^5.0.0
56 silly fetch manifest npmlog@^5.0.1
57 silly fetch manifest rimraf@^3.0.2
58 silly fetch manifest semver@^7.3.5
59 silly fetch manifest tar@^6.1.11
60 silly fetch manifest decompress-response@^4.2.0
61 silly fetch manifest once@^1.3.1
62 silly fetch manifest simple-concat@^1.0.0
63 http fetch GET 200 https://registry.npmjs.org/make-dir 759ms (cache revalidated)
64 http fetch GET 200 https://registry.npmjs.org/detect-libc 782ms (cache revalidated)
65 http fetch GET 200 https://registry.npmjs.org/rimraf 1388ms (cache revalidated)
66 http fetch GET 200 https://registry.npmjs.org/node-fetch 1421ms (cache revalidated)
67 http fetch GET 200 https://registry.npmjs.org/semver 1429ms (cache revalidated)
68 http fetch GET 200 https://registry.npmjs.org/npmlog 1473ms (cache revalidated)
69 http fetch GET 200 https://registry.npmjs.org/decompress-response 1465ms (cache revalidated)
70 http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 1538ms (cache revalidated)
71 http fetch GET 200 https://registry.npmjs.org/nopt 2067ms (cache revalidated)
72 http fetch GET 200 https://registry.npmjs.org/once 2069ms (cache revalidated)
73 http fetch GET 200 https://registry.npmjs.org/tar 2112ms (cache revalidated)
74 http fetch GET 200 https://registry.npmjs.org/simple-concat 2157ms (cache revalidated)
75 timing idealTree:node_modules/canvas Completed in 2304ms
76 silly fetch manifest encoding@^0.1.0
77 http fetch GET 200 https://registry.npmjs.org/encoding 781ms (cache revalidated)
78 silly placeDep ROOT detect-libc@2.0.1 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^2.0.0
79 silly placeDep ROOT https-proxy-agent@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^5.0.0
80 silly placeDep ROOT make-dir@3.1.0 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^3.1.0
81 silly placeDep ROOT node-fetch@2.6.7 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^2.6.7
82 silly placeDep ROOT nopt@5.0.0 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^5.0.0
83 silly placeDep ROOT npmlog@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^5.0.1
84 silly placeDep ROOT rimraf@3.0.2 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^3.0.2
85 silly placeDep ROOT semver@7.3.8 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^7.3.5
86 silly placeDep ROOT tar@6.1.11 OK for: @mapbox/node-pre-gyp@1.0.10 want: ^6.1.11
87 silly fetch manifest agent-base@6
88 silly fetch manifest debug@4
89 silly fetch manifest semver@^6.0.0
90 silly fetch manifest whatwg-url@^5.0.0
91 silly fetch manifest abbrev@1
92 silly fetch manifest are-we-there-yet@^2.0.0
93 silly fetch manifest console-control-strings@^1.1.0
94 silly fetch manifest gauge@^3.0.0
95 silly fetch manifest set-blocking@^2.0.0
96 silly fetch manifest glob@^7.1.3
97 silly fetch manifest lru-cache@^6.0.0
98 silly fetch manifest chownr@^2.0.0
99 silly fetch manifest fs-minipass@^2.0.0
100 silly fetch manifest minipass@^3.0.0
101 silly fetch manifest minizlib@^2.1.1
102 silly fetch manifest mkdirp@^1.0.3
103 silly fetch manifest yallist@^4.0.0
104 http fetch GET 200 https://registry.npmjs.org/debug 895ms (cache revalidated)
105 http fetch GET 200 https://registry.npmjs.org/agent-base 943ms (cache revalidated)
106 http fetch GET 200 https://registry.npmjs.org/glob 788ms (cache revalidated)
107 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 915ms (cache revalidated)
108 http fetch GET 200 https://registry.npmjs.org/chownr 775ms (cache revalidated)
109 http fetch GET 200 https://registry.npmjs.org/fs-minipass 771ms (cache revalidated)
110 http fetch GET 200 https://registry.npmjs.org/gauge 942ms (cache revalidated)
111 http fetch GET 200 https://registry.npmjs.org/console-control-strings 993ms (cache revalidated)
112 http fetch GET 200 https://registry.npmjs.org/yallist 777ms (cache revalidated)
113 http fetch GET 200 https://registry.npmjs.org/set-blocking 956ms (cache revalidated)
114 http fetch GET 200 https://registry.npmjs.org/mkdirp 1049ms (cache revalidated)
115 http fetch GET 200 https://registry.npmjs.org/minipass 1124ms (cache revalidated)
116 http fetch GET 200 https://registry.npmjs.org/minizlib 1131ms (cache revalidated)
117 http fetch GET 200 https://registry.npmjs.org/abbrev 1502ms (cache revalidated)
118 http fetch GET 200 https://registry.npmjs.org/lru-cache 1378ms (cache revalidated)
119 http fetch GET 200 https://registry.npmjs.org/whatwg-url 1562ms (cache revalidated)
120 timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 3033ms
121 timing idealTree:node_modules/detect-libc Completed in 1ms
122 silly placeDep ROOT agent-base@6.0.2 OK for: https-proxy-agent@5.0.1 want: 6
123 silly placeDep ROOT debug@4.3.4 OK for: https-proxy-agent@5.0.1 want: 4
124 silly fetch manifest ms@2.1.2
125 http fetch GET 200 https://registry.npmjs.org/ms 1071ms (cache revalidated)
126 timing idealTree:node_modules/https-proxy-agent Completed in 1134ms
127 timing idealTree:node_modules/agent-base Completed in 2ms
128 silly placeDep ROOT ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
129 timing idealTree:node_modules/debug Completed in 52ms
130 silly placeDep node_modules/make-dir semver@6.3.0 OK for: make-dir@3.1.0 want: ^6.0.0
131 timing idealTree:node_modules/make-dir Completed in 55ms
132 timing idealTree:node_modules/ms Completed in 1ms
133 timing idealTree:node_modules/nan Completed in 1ms
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/webidl-conversions 608ms (cache revalidated)
138 http fetch GET 200 https://registry.npmjs.org/tr46 1042ms (cache revalidated)
139 timing idealTree:node_modules/node-fetch Completed in 1073ms
140 silly placeDep ROOT abbrev@1.1.1 OK for: nopt@5.0.0 want: 1
141 timing idealTree:node_modules/nopt Completed in 20ms
142 timing idealTree:node_modules/abbrev Completed in 1ms
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 aproba@^1.0.3 || ^2.0.0
149 silly fetch manifest color-support@^1.1.2
150 silly fetch manifest has-unicode@^2.0.1
151 silly fetch manifest object-assign@^4.1.1
152 silly fetch manifest signal-exit@^3.0.0
153 silly fetch manifest string-width@^4.2.3
154 silly fetch manifest strip-ansi@^6.0.1
155 silly fetch manifest wide-align@^1.1.2
156 http fetch GET 200 https://registry.npmjs.org/color-support 615ms (cache revalidated)
157 http fetch GET 200 https://registry.npmjs.org/wide-align 560ms (cache revalidated)
158 http fetch GET 200 https://registry.npmjs.org/signal-exit 593ms (cache revalidated)
159 http fetch GET 200 https://registry.npmjs.org/aproba 669ms (cache revalidated)
160 http fetch GET 200 https://registry.npmjs.org/string-width 617ms (cache revalidated)
161 http fetch GET 200 https://registry.npmjs.org/strip-ansi 630ms (cache revalidated)
162 http fetch GET 200 https://registry.npmjs.org/object-assign 682ms (cache revalidated)
163 http fetch GET 200 https://registry.npmjs.org/has-unicode 723ms (cache revalidated)
164 http fetch GET 200 https://registry.npmjs.org/delegates 1270ms (cache revalidated)
165 timing idealTree:node_modules/npmlog Completed in 1337ms
166 silly placeDep ROOT delegates@1.0.0 OK for: are-we-there-yet@2.0.0 want: ^1.0.0
167 timing idealTree:node_modules/are-we-there-yet Completed in 16ms
168 timing idealTree:node_modules/console-control-strings Completed in 0ms
169 timing idealTree:node_modules/delegates Completed in 0ms
170 silly placeDep ROOT aproba@2.0.0 OK for: gauge@3.0.2 want: ^1.0.3 || ^2.0.0
171 silly placeDep ROOT color-support@1.1.3 OK for: gauge@3.0.2 want: ^1.1.2
172 silly placeDep ROOT has-unicode@2.0.1 OK for: gauge@3.0.2 want: ^2.0.1
173 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@3.0.2 want: ^4.1.1
174 silly placeDep ROOT signal-exit@3.0.7 OK for: gauge@3.0.2 want: ^3.0.0
175 silly placeDep ROOT string-width@4.2.3 OK for: gauge@3.0.2 want: ^4.2.3
176 silly placeDep ROOT strip-ansi@6.0.1 OK for: gauge@3.0.2 want: ^6.0.1
177 silly placeDep ROOT wide-align@1.1.5 OK for: gauge@3.0.2 want: ^1.1.2
178 silly fetch manifest emoji-regex@^8.0.0
179 silly fetch manifest is-fullwidth-code-point@^3.0.0
180 silly fetch manifest ansi-regex@^5.0.1
181 http fetch GET 200 https://registry.npmjs.org/emoji-regex 365ms (cache revalidated)
182 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 1131ms (cache revalidated)
183 http fetch GET 200 https://registry.npmjs.org/ansi-regex 1144ms (cache revalidated)
184 timing idealTree:node_modules/gauge Completed in 1315ms
185 timing idealTree:node_modules/aproba Completed in 1ms
186 timing idealTree:node_modules/color-support Completed in 0ms
187 timing idealTree:node_modules/has-unicode Completed in 1ms
188 timing idealTree:node_modules/object-assign Completed in 1ms
189 silly placeDep ROOT glob@7.2.3 OK for: rimraf@3.0.2 want: ^7.1.3
190 silly fetch manifest fs.realpath@^1.0.0
191 silly fetch manifest inflight@^1.0.4
192 silly fetch manifest minimatch@^3.1.1
193 silly fetch manifest once@^1.3.0
194 silly fetch manifest path-is-absolute@^1.0.0
195 http fetch GET 200 https://registry.npmjs.org/fs.realpath 776ms (cache revalidated)
196 http fetch GET 200 https://registry.npmjs.org/minimatch 876ms (cache revalidated)
197 http fetch GET 200 https://registry.npmjs.org/inflight 948ms (cache revalidated)
198 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 907ms (cache revalidated)
199 timing idealTree:node_modules/rimraf Completed in 1096ms
200 silly placeDep ROOT fs.realpath@1.0.0 OK for: glob@7.2.3 want: ^1.0.0
201 silly placeDep ROOT inflight@1.0.6 OK for: glob@7.2.3 want: ^1.0.4
202 silly placeDep ROOT minimatch@3.1.2 OK for: glob@7.2.3 want: ^3.1.1
203 silly placeDep ROOT once@1.4.0 OK for: glob@7.2.3 want: ^1.3.0
204 silly placeDep ROOT path-is-absolute@1.0.1 OK for: glob@7.2.3 want: ^1.0.0
205 silly fetch manifest wrappy@1
206 silly fetch manifest brace-expansion@^1.1.7
207 http fetch GET 200 https://registry.npmjs.org/brace-expansion 392ms (cache revalidated)
208 http fetch GET 200 https://registry.npmjs.org/wrappy 439ms (cache revalidated)
209 timing idealTree:node_modules/glob Completed in 642ms
210 timing idealTree:node_modules/fs.realpath Completed in 1ms
211 silly placeDep ROOT wrappy@1.0.2 OK for: inflight@1.0.6 want: 1
212 timing idealTree:node_modules/inflight Completed in 52ms
213 silly placeDep ROOT brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
214 silly fetch manifest balanced-match@^1.0.0
215 silly fetch manifest concat-map@0.0.1
216 http fetch GET 200 https://registry.npmjs.org/balanced-match 816ms (cache revalidated)
217 http fetch GET 200 https://registry.npmjs.org/concat-map 919ms (cache updated)
218 timing idealTree:node_modules/minimatch Completed in 1015ms
219 silly placeDep ROOT balanced-match@1.0.2 OK for: brace-expansion@1.1.11 want: ^1.0.0
220 silly placeDep ROOT concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1
221 timing idealTree:node_modules/brace-expansion Completed in 32ms
222 timing idealTree:node_modules/balanced-match Completed in 0ms
223 timing idealTree:node_modules/concat-map Completed in 0ms
224 timing idealTree:node_modules/once Completed in 0ms
225 timing idealTree:node_modules/path-is-absolute Completed in 0ms
226 silly placeDep ROOT lru-cache@6.0.0 OK for: semver@7.3.8 want: ^6.0.0
227 timing idealTree:node_modules/semver Completed in 19ms
228 silly placeDep ROOT yallist@4.0.0 OK for: lru-cache@6.0.0 want: ^4.0.0
229 timing idealTree:node_modules/lru-cache Completed in 17ms
230 timing idealTree:node_modules/set-blocking Completed in 1ms
231 timing idealTree:node_modules/signal-exit Completed in 0ms
232 silly placeDep ROOT decompress-response@4.2.1 OK for: simple-get@3.1.1 want: ^4.2.0
233 silly placeDep ROOT simple-concat@1.0.1 OK for: simple-get@3.1.1 want: ^1.0.0
234 silly fetch manifest mimic-response@^2.0.0
235 http fetch GET 200 https://registry.npmjs.org/mimic-response 272ms (cache revalidated)
236 timing idealTree:node_modules/simple-get Completed in 311ms
237 silly placeDep ROOT mimic-response@2.1.0 OK for: decompress-response@4.2.1 want: ^2.0.0
238 timing idealTree:node_modules/decompress-response Completed in 13ms
239 timing idealTree:node_modules/mimic-response Completed in 0ms
240 timing idealTree:node_modules/simple-concat Completed in 0ms
241 silly placeDep ROOT emoji-regex@8.0.0 OK for: string-width@4.2.3 want: ^8.0.0
242 silly placeDep ROOT is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0
243 timing idealTree:node_modules/string-width Completed in 24ms
244 timing idealTree:node_modules/emoji-regex Completed in 0ms
245 timing idealTree:node_modules/is-fullwidth-code-point Completed in 0ms
246 silly placeDep ROOT ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1
247 timing idealTree:node_modules/strip-ansi Completed in 13ms
248 timing idealTree:node_modules/ansi-regex Completed in 0ms
249 silly placeDep ROOT chownr@2.0.0 OK for: tar@6.1.11 want: ^2.0.0
250 silly placeDep ROOT fs-minipass@2.1.0 OK for: tar@6.1.11 want: ^2.0.0
251 silly placeDep ROOT minipass@3.3.4 OK for: tar@6.1.11 want: ^3.0.0
252 silly placeDep ROOT minizlib@2.1.2 OK for: tar@6.1.11 want: ^2.1.1
253 silly placeDep ROOT mkdirp@1.0.4 OK for: tar@6.1.11 want: ^1.0.3
254 timing idealTree:node_modules/tar Completed in 66ms
255 timing idealTree:node_modules/chownr Completed in 0ms
256 timing idealTree:node_modules/fs-minipass Completed in 0ms
257 timing idealTree:node_modules/minipass Completed in 0ms
258 timing idealTree:node_modules/minizlib Completed in 0ms
259 timing idealTree:node_modules/mkdirp Completed in 0ms
260 silly placeDep ROOT tr46@0.0.3 OK for: whatwg-url@5.0.0 want: ~0.0.3
261 silly placeDep ROOT webidl-conversions@3.0.1 OK for: whatwg-url@5.0.0 want: ^3.0.0
262 timing idealTree:node_modules/whatwg-url Completed in 23ms
263 timing idealTree:node_modules/tr46 Completed in 0ms
264 timing idealTree:node_modules/webidl-conversions Completed in 0ms
265 timing idealTree:node_modules/wide-align Completed in 0ms
266 timing idealTree:node_modules/wrappy Completed in 0ms
267 timing idealTree:node_modules/yallist Completed in 0ms
268 timing idealTree:node_modules/make-dir/node_modules/semver Completed in 1ms
269 timing idealTree:buildDeps Completed in 18212ms
270 timing idealTree:fixDepFlags Completed in 11ms
271 timing idealTree Completed in 18872ms
272 timing reify:loadTrees Completed in 18881ms
273 timing reify:diffTrees Completed in 40ms
274 silly reify moves {}
275 timing reify:retireShallow Completed in 14ms
276 timing reify:createSparse Completed in 157ms
277 timing reify:loadBundles Completed in 0ms
278 silly audit bulk request {
278 silly audit   '@discordjs/builders': [ '1.3.0' ],
278 silly audit   '@discordjs/collection': [ '1.2.0' ],
278 silly audit   '@discordjs/rest': [ '1.3.0' ],
278 silly audit   '@discordjs/util': [ '0.1.0' ],
278 silly audit   '@sapphire/async-queue': [ '1.5.0' ],
278 silly audit   '@sapphire/shapeshift': [ '3.7.0' ],
278 silly audit   '@sapphire/snowflake': [ '3.2.2' ],
278 silly audit   '@tokenizer/token': [ '0.3.0' ],
278 silly audit   '@types/node': [ '18.8.3' ],
278 silly audit   '@types/ws': [ '8.5.3' ],
278 silly audit   busboy: [ '1.6.0' ],
278 silly audit   colors: [ '1.4.0' ],
278 silly audit   'discord-api-types': [ '0.37.12' ],
278 silly audit   'discord.js': [ '14.5.0' ],
278 silly audit   'fast-deep-equal': [ '3.1.3' ],
278 silly audit   'file-type': [ '18.0.0' ],
278 silly audit   ieee754: [ '1.2.1' ],
278 silly audit   inherits: [ '2.0.4' ],
278 silly audit   'lodash.snakecase': [ '4.1.1' ],
278 silly audit   'lodash.uniqwith': [ '4.5.0' ],
278 silly audit   'peek-readable': [ '5.0.0' ],
278 silly audit   'readable-stream': [ '3.6.0' ],
278 silly audit   'readable-web-to-node-stream': [ '3.0.2' ],
278 silly audit   'safe-buffer': [ '5.2.1' ],
278 silly audit   streamsearch: [ '1.1.0' ],
278 silly audit   string_decoder: [ '1.3.0' ],
278 silly audit   strtok3: [ '7.0.0' ],
278 silly audit   'token-types': [ '5.0.1' ],
278 silly audit   'ts-mixer': [ '6.0.1' ],
278 silly audit   tslib: [ '2.4.0' ],
278 silly audit   undici: [ '5.11.0' ],
278 silly audit   'util-deprecate': [ '1.0.2' ],
278 silly audit   ws: [ '8.9.0' ],
278 silly audit   canvas: [ '2.10.1' ],
278 silly audit   '@mapbox/node-pre-gyp': [ '1.0.10' ],
278 silly audit   nan: [ '2.17.0' ],
278 silly audit   'simple-get': [ '3.1.1' ],
278 silly audit   'detect-libc': [ '2.0.1' ],
278 silly audit   'https-proxy-agent': [ '5.0.1' ],
278 silly audit   'make-dir': [ '3.1.0' ],
278 silly audit   'node-fetch': [ '2.6.7' ],
278 silly audit   nopt: [ '5.0.0' ],
278 silly audit   npmlog: [ '5.0.1' ],
278 silly audit   rimraf: [ '3.0.2' ],
278 silly audit   semver: [ '7.3.8', '6.3.0' ],
278 silly audit   tar: [ '6.1.11' ],
278 silly audit   'agent-base': [ '6.0.2' ],
278 silly audit   debug: [ '4.3.4' ],
278 silly audit   ms: [ '2.1.2' ],
278 silly audit   'whatwg-url': [ '5.0.0' ],
278 silly audit   abbrev: [ '1.1.1' ],
278 silly audit   'are-we-there-yet': [ '2.0.0' ],
278 silly audit   'console-control-strings': [ '1.1.0' ],
278 silly audit   gauge: [ '3.0.2' ],
278 silly audit   'set-blocking': [ '2.0.0' ],
278 silly audit   delegates: [ '1.0.0' ],
278 silly audit   aproba: [ '2.0.0' ],
278 silly audit   'color-support': [ '1.1.3' ],
278 silly audit   'has-unicode': [ '2.0.1' ],
278 silly audit   'object-assign': [ '4.1.1' ],
278 silly audit   'signal-exit': [ '3.0.7' ],
278 silly audit   'string-width': [ '4.2.3' ],
278 silly audit   'strip-ansi': [ '6.0.1' ],
278 silly audit   'wide-align': [ '1.1.5' ],
278 silly audit   glob: [ '7.2.3' ],
278 silly audit   'fs.realpath': [ '1.0.0' ],
278 silly audit   inflight: [ '1.0.6' ],
278 silly audit   minimatch: [ '3.1.2' ],
278 silly audit   once: [ '1.4.0' ],
278 silly audit   'path-is-absolute': [ '1.0.1' ],
278 silly audit   wrappy: [ '1.0.2' ],
278 silly audit   'brace-expansion': [ '1.1.11' ],
278 silly audit   'balanced-match': [ '1.0.2' ],
278 silly audit   'concat-map': [ '0.0.1' ],
278 silly audit   'lru-cache': [ '6.0.0' ],
278 silly audit   yallist: [ '4.0.0' ],
278 silly audit   'decompress-response': [ '4.2.1' ],
278 silly audit   'simple-concat': [ '1.0.1' ],
278 silly audit   'mimic-response': [ '2.1.0' ],
278 silly audit   'emoji-regex': [ '8.0.0' ],
278 silly audit   'is-fullwidth-code-point': [ '3.0.0' ],
278 silly audit   'ansi-regex': [ '5.0.1' ],
278 silly audit   chownr: [ '2.0.0' ],
278 silly audit   'fs-minipass': [ '2.1.0' ],
278 silly audit   minipass: [ '3.3.4' ],
278 silly audit   minizlib: [ '2.1.2' ],
278 silly audit   mkdirp: [ '1.0.4' ],
278 silly audit   tr46: [ '0.0.3' ],
278 silly audit   'webidl-conversions': [ '3.0.1' ]
278 silly audit }
279 silly tarball no local data for nan@https://registry.npmjs.org/nan/-/nan-2.17.0.tgz. Extracting by manifest.
280 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 1477ms
281 timing auditReport:getReport Completed in 1529ms
282 silly audit report {}
283 timing auditReport:init Completed in 0ms
284 timing reify:audit Completed in 1541ms
285 timing reifyNode:node_modules/chownr Completed in 2020ms
286 timing reifyNode:node_modules/brace-expansion Completed in 2036ms
287 timing reifyNode:node_modules/wrappy Completed in 2037ms
288 timing reifyNode:node_modules/once Completed in 2037ms
289 timing reifyNode:node_modules/path-is-absolute Completed in 2042ms
290 timing reifyNode:node_modules/inflight Completed in 2041ms
291 timing reifyNode:node_modules/wide-align Completed in 2043ms
292 timing reifyNode:node_modules/object-assign Completed in 2044ms
293 timing reifyNode:node_modules/abbrev Completed in 2051ms
294 timing reifyNode:node_modules/ms Completed in 2052ms
295 timing reifyNode:node_modules/webidl-conversions Completed in 2095ms
296 timing reifyNode:node_modules/has-unicode Completed in 2066ms
297 timing reifyNode:node_modules/ansi-regex Completed in 2092ms
298 timing reifyNode:node_modules/fs-minipass Completed in 2095ms
299 timing reifyNode:node_modules/is-fullwidth-code-point Completed in 2095ms
300 timing reifyNode:node_modules/mimic-response Completed in 2094ms
301 timing reifyNode:node_modules/decompress-response Completed in 2093ms
302 timing reifyNode:node_modules/lru-cache Completed in 2093ms
303 timing reifyNode:node_modules/strip-ansi Completed in 2095ms
304 timing reifyNode:node_modules/string-width Completed in 2095ms
305 timing reifyNode:node_modules/aproba Completed in 2095ms
306 timing reifyNode:node_modules/set-blocking Completed in 2096ms
307 timing reifyNode:node_modules/signal-exit Completed in 2101ms
308 timing reifyNode:node_modules/console-control-strings Completed in 2101ms
309 timing reifyNode:node_modules/npmlog Completed in 2106ms
310 timing reifyNode:node_modules/make-dir Completed in 2107ms
311 timing reifyNode:node_modules/simple-get Completed in 2107ms
312 timing reifyNode:node_modules/yallist Completed in 2151ms
313 timing reifyNode:node_modules/fs.realpath Completed in 2159ms
314 timing reifyNode:node_modules/balanced-match Completed in 2167ms
315 timing reifyNode:node_modules/color-support Completed in 2158ms
316 timing reifyNode:node_modules/minizlib Completed in 2211ms
317 timing reifyNode:node_modules/simple-concat Completed in 2203ms
318 timing reifyNode:node_modules/minimatch Completed in 2205ms
319 timing reifyNode:node_modules/rimraf Completed in 2227ms
320 timing reifyNode:node_modules/concat-map Completed in 2275ms
321 timing reifyNode:node_modules/delegates Completed in 2263ms
322 timing reifyNode:node_modules/debug Completed in 2264ms
323 timing reifyNode:node_modules/detect-libc Completed in 2264ms
324 timing reifyNode:node_modules/minipass Completed in 2306ms
325 timing reifyNode:node_modules/are-we-there-yet Completed in 2294ms
326 timing reifyNode:node_modules/nopt Completed in 2294ms
327 timing reifyNode:node_modules/glob Completed in 2324ms
328 timing reifyNode:node_modules/emoji-regex Completed in 2349ms
329 timing reifyNode:node_modules/whatwg-url Completed in 2352ms
330 timing reifyNode:node_modules/mkdirp Completed in 2390ms
331 timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 2363ms
332 timing reifyNode:node_modules/https-proxy-agent Completed in 2397ms
333 timing reifyNode:node_modules/agent-base Completed in 2424ms
334 timing reifyNode:node_modules/node-fetch Completed in 2427ms
335 timing reifyNode:node_modules/tr46 Completed in 2496ms
336 timing reifyNode:node_modules/gauge Completed in 2466ms
337 timing reifyNode:node_modules/tar Completed in 2730ms
338 timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 2783ms
339 timing reifyNode:node_modules/semver Completed in 2810ms
340 timing reifyNode:node_modules/canvas Completed in 2979ms
341 http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.17.0.tgz 2518ms (cache miss)
342 timing reifyNode:node_modules/nan Completed in 3044ms
343 timing reify:unpack Completed in 3095ms
344 timing reify:unretire Completed in 2ms
345 timing build:queue Completed in 38ms
346 timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 25ms
347 timing build:link:node_modules/color-support Completed in 16ms
348 timing build:link:node_modules/mkdirp Completed in 15ms
349 timing build:link:node_modules/nopt Completed in 14ms
350 timing build:link:node_modules/rimraf Completed in 13ms
351 timing build:link:node_modules/semver Completed in 13ms
352 timing build:link:node_modules/make-dir/node_modules/semver Completed in 30ms
353 timing build:link Completed in 47ms
354 info run canvas@2.10.1 install node_modules/canvas node-pre-gyp install --fallback-to-build --update-binary
355 info run canvas@2.10.1 install { code: 1, signal: null }
356 timing reify:rollback:createSparse Completed in 589ms
357 timing reify:rollback:retireShallow Completed in 0ms
358 timing command:install Completed in 42213ms
359 verbose stack Error: command failed
359 verbose stack     at ChildProcess.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
359 verbose stack     at ChildProcess.emit (node:events:513:28)
359 verbose stack     at maybeClose (node:internal/child_process:1091:16)
359 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
360 verbose pkgid canvas@2.10.1
361 verbose cwd /data/data/com.termux/files/home
362 verbose Linux 4.9.186-perf-g131f907
363 verbose node v18.10.0
364 verbose npm  v8.19.2
365 error code 1
366 error path /data/data/com.termux/files/home/node_modules/canvas
367 error command failed
368 error command sh -c -- node-pre-gyp install --fallback-to-build --update-binary
369 verbose exit 1
370 timing npm Completed in 43725ms
371 verbose unfinished npm timer reify 1665462915272
372 verbose unfinished npm timer reify:build 1665462937673
373 verbose unfinished npm timer build 1665462937678
374 verbose unfinished npm timer build:deps 1665462937683
375 verbose unfinished npm timer build:run:install 1665462937772
376 verbose unfinished npm timer build:run:install:node_modules/canvas 1665462937775
377 verbose code 1
378 error A complete log of this run can be found in:
378 error     /data/data/com.termux/files/home/.npm/_logs/2022-10-11T04_35_13_767Z-debug-0.log
zbjornson commented 2 years ago

Please see the troubleshooting guide linked in the issue template for guidance on this. We don't have prebuilds for ARM or Node.js v18, so it needs to be built from source.