sumimakito / Awesome-qr.js

An awesome QR code generator written in JavaScript.
https://www.bitcat.cc/webapp/awesome-qr/index.html
Apache License 2.0
1.67k stars 251 forks source link

Can't install on my new Macbook #76

Open jeff3po opened 2 years ago

jeff3po commented 2 years ago

When I upgraded to a new MacBook, I can no longer install awesome-qr.

Here's the log. It's a bit beyond my experience level to parse:

0 verbose cli [ 0 verbose cli '/usr/local/bin/node', 0 verbose cli '/usr/local/bin/npm', 0 verbose cli 'install', 0 verbose cli '--save', 0 verbose cli 'awesome-qr' 0 verbose cli ] 1 info using npm@8.5.0 2 info using node@v16.14.2 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 1ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms 6 timing config:load:builtin Completed in 0ms 7 timing config:load:cli Completed in 1ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/Users/jeffrey.j.mills/dev/qracc/.npmrc Completed in 0ms 10 timing config:load:project Completed in 1ms 11 timing config:load:file:/Users/jeffrey.j.mills/.npmrc Completed in 1ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:validate Completed in 0ms 16 timing config:load:credentials Completed in 0ms 17 timing config:load:setEnvs Completed in 1ms 18 timing config:load Completed in 5ms 19 timing npm:load:configload Completed in 5ms 20 timing npm:load:setTitle Completed in 5ms 21 timing config:load:flatten Completed in 1ms 22 timing npm:load:display Completed in 2ms 23 verbose logfile /Users/jeffrey.j.mills/.npm/_logs/2022-05-26T18_33_03_276Z-debug-0.log 24 timing npm:load:logFile Completed in 2ms 25 timing npm:load:timers Completed in 0ms 26 timing npm:load:configScope Completed in 0ms 27 timing npm:load Completed in 15ms 28 timing arborist:ctor Completed in 0ms 29 silly logfile start cleaning logs, removing 1 files 30 timing arborist:ctor Completed in 1ms 31 timing idealTree:init Completed in 5ms 32 timing idealTree:userRequests Completed in 1ms 33 silly idealTree buildDeps 34 silly fetch manifest awesome-qr@ 35 http fetch GET 200 https://registry.npmjs.org/awesome-qr 6ms (cache hit) 36 silly placeDep ROOT awesome-qr@2.1.5-rc.0 OK for: want: 37 silly fetch manifest buffer@^6.0.3 38 silly fetch manifest canvas@^2.8.0 39 silly fetch manifest js-binary-schema-parser@^2.0.0 40 http fetch GET 200 https://registry.npmjs.org/buffer 6ms (cache hit) 41 http fetch GET 200 https://registry.npmjs.org/canvas 6ms (cache hit) 42 http fetch GET 200 https://registry.npmjs.org/js-binary-schema-parser 6ms (cache hit) 43 timing idealTree:#root Completed in 19ms 44 silly placeDep ROOT buffer@6.0.3 OK for: awesome-qr@2.1.5-rc.0 want: ^6.0.3 45 silly placeDep ROOT canvas@2.9.1 OK for: awesome-qr@2.1.5-rc.0 want: ^2.8.0 46 silly placeDep ROOT js-binary-schema-parser@2.0.3 OK for: awesome-qr@2.1.5-rc.0 want: ^2.0.0 47 silly fetch manifest base64-js@^1.3.1 48 silly fetch manifest ieee754@^1.2.1 49 silly fetch manifest @mapbox/node-pre-gyp@^1.0.0 50 silly fetch manifest nan@^2.15.0 51 silly fetch manifest simple-get@^3.0.3 52 http fetch GET 200 https://registry.npmjs.org/base64-js 11ms (cache hit) 53 http fetch GET 200 https://registry.npmjs.org/ieee754 11ms (cache hit) 54 http fetch GET 200 https://registry.npmjs.org/simple-get 11ms (cache hit) 55 http fetch GET 200 https://registry.npmjs.org/nan 11ms (cache hit) 56 http fetch GET 200 https://registry.npmjs.org/@mapbox%2fnode-pre-gyp 13ms (cache hit) 57 timing idealTree:node_modules/awesome-qr Completed in 16ms 58 silly placeDep ROOT base64-js@1.5.1 OK for: buffer@6.0.3 want: ^1.3.1 59 silly placeDep ROOT ieee754@1.2.1 OK for: buffer@6.0.3 want: ^1.2.1 60 timing idealTree:node_modules/buffer Completed in 1ms 61 timing idealTree:node_modules/base64-js Completed in 0ms 62 silly placeDep ROOT @mapbox/node-pre-gyp@1.0.9 OK for: canvas@2.9.1 want: ^1.0.0 63 silly placeDep ROOT nan@2.16.0 OK for: canvas@2.9.1 want: ^2.15.0 64 silly placeDep ROOT simple-get@3.1.1 OK for: canvas@2.9.1 want: ^3.0.3 65 silly fetch manifest detect-libc@^2.0.0 66 silly fetch manifest https-proxy-agent@^5.0.0 67 silly fetch manifest make-dir@^3.1.0 68 silly fetch manifest node-fetch@^2.6.7 69 silly fetch manifest nopt@^5.0.0 70 silly fetch manifest npmlog@^5.0.1 71 silly fetch manifest rimraf@^3.0.2 72 silly fetch manifest semver@^7.3.5 73 silly fetch manifest tar@^6.1.11 74 silly fetch manifest decompress-response@^4.2.0 75 silly fetch manifest once@^1.3.1 76 silly fetch manifest simple-concat@^1.0.0 77 http fetch GET 200 https://registry.npmjs.org/make-dir 11ms (cache hit) 78 http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 11ms (cache hit) 79 http fetch GET 200 https://registry.npmjs.org/nopt 11ms (cache hit) 80 http fetch GET 200 https://registry.npmjs.org/semver 11ms (cache hit) 81 http fetch GET 200 https://registry.npmjs.org/node-fetch 12ms (cache hit) 82 http fetch GET 200 https://registry.npmjs.org/detect-libc 13ms (cache hit) 83 http fetch GET 200 https://registry.npmjs.org/decompress-response 12ms (cache hit) 84 http fetch GET 200 https://registry.npmjs.org/npmlog 12ms (cache hit) 85 http fetch GET 200 https://registry.npmjs.org/rimraf 13ms (cache hit) 86 http fetch GET 200 https://registry.npmjs.org/simple-concat 13ms (cache hit) 87 http fetch GET 200 https://registry.npmjs.org/tar 13ms (cache hit) 88 http fetch GET 200 https://registry.npmjs.org/once 14ms (cache hit) 89 timing idealTree:node_modules/canvas Completed in 17ms 90 silly fetch manifest encoding@^0.1.0 91 http fetch GET 200 https://registry.npmjs.org/encoding 4ms (cache hit) 92 silly placeDep ROOT detect-libc@2.0.1 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^2.0.0 93 silly placeDep ROOT https-proxy-agent@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^5.0.0 94 silly placeDep ROOT make-dir@3.1.0 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^3.1.0 95 silly placeDep ROOT node-fetch@2.6.7 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^2.6.7 96 silly placeDep ROOT nopt@5.0.0 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^5.0.0 97 silly placeDep ROOT npmlog@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^5.0.1 98 silly placeDep ROOT rimraf@3.0.2 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^3.0.2 99 silly placeDep ROOT semver@7.3.7 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^7.3.5 100 silly placeDep ROOT tar@6.1.11 OK for: @mapbox/node-pre-gyp@1.0.9 want: ^6.1.11 101 silly fetch manifest agent-base@6 102 silly fetch manifest debug@4 103 silly fetch manifest semver@^6.0.0 104 silly fetch manifest whatwg-url@^5.0.0 105 silly fetch manifest abbrev@1 106 silly fetch manifest are-we-there-yet@^2.0.0 107 silly fetch manifest console-control-strings@^1.1.0 108 silly fetch manifest gauge@^3.0.0 109 silly fetch manifest set-blocking@^2.0.0 110 silly fetch manifest glob@^7.1.3 111 silly fetch manifest lru-cache@^6.0.0 112 silly fetch manifest chownr@^2.0.0 113 silly fetch manifest fs-minipass@^2.0.0 114 silly fetch manifest minipass@^3.0.0 115 silly fetch manifest minizlib@^2.1.1 116 silly fetch manifest mkdirp@^1.0.3 117 silly fetch manifest yallist@^4.0.0 118 http fetch GET 200 https://registry.npmjs.org/debug 14ms (cache hit) 119 http fetch GET 200 https://registry.npmjs.org/whatwg-url 14ms (cache hit) 120 http fetch GET 200 https://registry.npmjs.org/gauge 14ms (cache hit) 121 http fetch GET 200 https://registry.npmjs.org/abbrev 16ms (cache hit) 122 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 16ms (cache hit) 123 http fetch GET 200 https://registry.npmjs.org/console-control-strings 16ms (cache hit) 124 http fetch GET 200 https://registry.npmjs.org/chownr 15ms (cache hit) 125 http fetch GET 200 https://registry.npmjs.org/agent-base 19ms (cache hit) 126 http fetch GET 200 https://registry.npmjs.org/glob 17ms (cache hit) 127 http fetch GET 200 https://registry.npmjs.org/set-blocking 18ms (cache hit) 128 http fetch GET 200 https://registry.npmjs.org/fs-minipass 17ms (cache hit) 129 http fetch GET 200 https://registry.npmjs.org/minizlib 17ms (cache hit) 130 http fetch GET 200 https://registry.npmjs.org/lru-cache 19ms (cache hit) 131 http fetch GET 200 https://registry.npmjs.org/minipass 19ms (cache hit) 132 http fetch GET 200 https://registry.npmjs.org/yallist 18ms (cache hit) 133 http fetch GET 200 https://registry.npmjs.org/mkdirp 19ms (cache hit) 134 timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 32ms 135 timing idealTree:node_modules/detect-libc Completed in 0ms 136 silly placeDep ROOT agent-base@6.0.2 OK for: https-proxy-agent@5.0.1 want: 6 137 silly placeDep ROOT debug@4.3.4 OK for: https-proxy-agent@5.0.1 want: 4 138 silly fetch manifest ms@2.1.2 139 http fetch GET 200 https://registry.npmjs.org/ms 2ms (cache hit) 140 timing idealTree:node_modules/https-proxy-agent Completed in 5ms 141 timing idealTree:node_modules/agent-base Completed in 0ms 142 silly placeDep ROOT ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2 143 timing idealTree:node_modules/debug Completed in 0ms 144 timing idealTree:node_modules/ieee754 Completed in 0ms 145 timing idealTree:node_modules/js-binary-schema-parser Completed in 0ms 146 silly placeDep node_modules/make-dir semver@6.3.0 OK for: make-dir@3.1.0 want: ^6.0.0 147 timing idealTree:node_modules/make-dir Completed in 1ms 148 timing idealTree:node_modules/ms Completed in 0ms 149 timing idealTree:node_modules/nan Completed in 0ms 150 silly placeDep ROOT whatwg-url@5.0.0 OK for: node-fetch@2.6.7 want: ^5.0.0 151 silly fetch manifest tr46@~0.0.3 152 silly fetch manifest webidl-conversions@^3.0.0 153 http fetch GET 200 https://registry.npmjs.org/tr46 5ms (cache hit) 154 http fetch GET 200 https://registry.npmjs.org/webidl-conversions 5ms (cache hit) 155 timing idealTree:node_modules/node-fetch Completed in 6ms 156 silly placeDep ROOT abbrev@1.1.1 OK for: nopt@5.0.0 want: 1 157 timing idealTree:node_modules/nopt Completed in 1ms 158 timing idealTree:node_modules/abbrev Completed in 0ms 159 silly placeDep ROOT are-we-there-yet@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0 160 silly placeDep ROOT console-control-strings@1.1.0 OK for: npmlog@5.0.1 want: ^1.1.0 161 silly placeDep ROOT gauge@3.0.2 OK for: npmlog@5.0.1 want: ^3.0.0 162 silly placeDep ROOT set-blocking@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0 163 silly fetch manifest delegates@^1.0.0 164 silly fetch manifest readable-stream@^3.6.0 165 silly fetch manifest aproba@^1.0.3 || ^2.0.0 166 silly fetch manifest color-support@^1.1.2 167 silly fetch manifest has-unicode@^2.0.1 168 silly fetch manifest object-assign@^4.1.1 169 silly fetch manifest signal-exit@^3.0.0 170 silly fetch manifest string-width@^4.2.3 171 silly fetch manifest strip-ansi@^6.0.1 172 silly fetch manifest wide-align@^1.1.2 173 http fetch GET 200 https://registry.npmjs.org/object-assign 8ms (cache hit) 174 http fetch GET 200 https://registry.npmjs.org/has-unicode 10ms (cache hit) 175 http fetch GET 200 https://registry.npmjs.org/readable-stream 10ms (cache hit) 176 http fetch GET 200 https://registry.npmjs.org/color-support 11ms (cache hit) 177 http fetch GET 200 https://registry.npmjs.org/delegates 12ms (cache hit) 178 http fetch GET 200 https://registry.npmjs.org/signal-exit 10ms (cache hit) 179 http fetch GET 200 https://registry.npmjs.org/string-width 10ms (cache hit) 180 http fetch GET 200 https://registry.npmjs.org/strip-ansi 11ms (cache hit) 181 http fetch GET 200 https://registry.npmjs.org/aproba 12ms (cache hit) 182 http fetch GET 200 https://registry.npmjs.org/wide-align 11ms (cache hit) 183 timing idealTree:node_modules/npmlog Completed in 14ms 184 silly placeDep ROOT delegates@1.0.0 OK for: are-we-there-yet@2.0.0 want: ^1.0.0 185 silly placeDep ROOT readable-stream@3.6.0 OK for: are-we-there-yet@2.0.0 want: ^3.6.0 186 silly fetch manifest inherits@^2.0.3 187 silly fetch manifest string_decoder@^1.1.1 188 silly fetch manifest util-deprecate@^1.0.1 189 http fetch GET 200 https://registry.npmjs.org/string_decoder 5ms (cache hit) 190 http fetch GET 200 https://registry.npmjs.org/util-deprecate 4ms (cache hit) 191 http fetch GET 200 https://registry.npmjs.org/inherits 5ms (cache hit) 192 timing idealTree:node_modules/are-we-there-yet Completed in 6ms 193 timing idealTree:node_modules/console-control-strings Completed in 0ms 194 timing idealTree:node_modules/delegates Completed in 0ms 195 silly placeDep ROOT aproba@2.0.0 OK for: gauge@3.0.2 want: ^1.0.3 || ^2.0.0 196 silly placeDep ROOT color-support@1.1.3 OK for: gauge@3.0.2 want: ^1.1.2 197 silly placeDep ROOT has-unicode@2.0.1 OK for: gauge@3.0.2 want: ^2.0.1 198 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@3.0.2 want: ^4.1.1 199 silly placeDep ROOT signal-exit@3.0.7 OK for: gauge@3.0.2 want: ^3.0.0 200 silly placeDep ROOT string-width@4.2.3 OK for: gauge@3.0.2 want: ^4.2.3 201 silly placeDep ROOT strip-ansi@6.0.1 OK for: gauge@3.0.2 want: ^6.0.1 202 silly placeDep ROOT wide-align@1.1.5 OK for: gauge@3.0.2 want: ^1.1.2 203 silly fetch manifest emoji-regex@^8.0.0 204 silly fetch manifest is-fullwidth-code-point@^3.0.0 205 silly fetch manifest ansi-regex@^5.0.1 206 http fetch GET 200 https://registry.npmjs.org/emoji-regex 4ms (cache hit) 207 http fetch GET 200 https://registry.npmjs.org/ansi-regex 4ms (cache hit) 208 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 4ms (cache hit) 209 timing idealTree:node_modules/gauge Completed in 6ms 210 timing idealTree:node_modules/aproba Completed in 0ms 211 timing idealTree:node_modules/color-support Completed in 0ms 212 timing idealTree:node_modules/has-unicode Completed in 0ms 213 timing idealTree:node_modules/object-assign Completed in 0ms 214 silly placeDep ROOT inherits@2.0.4 OK for: readable-stream@3.6.0 want: ^2.0.3 215 silly placeDep ROOT string_decoder@1.3.0 OK for: readable-stream@3.6.0 want: ^1.1.1 216 silly placeDep ROOT util-deprecate@1.0.2 OK for: readable-stream@3.6.0 want: ^1.0.1 217 silly fetch manifest safe-buffer@~5.2.0 218 http fetch GET 200 https://registry.npmjs.org/safe-buffer 1ms (cache hit) 219 timing idealTree:node_modules/readable-stream Completed in 4ms 220 timing idealTree:node_modules/inherits Completed in 0ms 221 silly placeDep ROOT glob@7.2.3 OK for: rimraf@3.0.2 want: ^7.1.3 222 silly fetch manifest fs.realpath@^1.0.0 223 silly fetch manifest inflight@^1.0.4 224 silly fetch manifest minimatch@^3.1.1 225 silly fetch manifest once@^1.3.0 226 silly fetch manifest path-is-absolute@^1.0.0 227 http fetch GET 200 https://registry.npmjs.org/inflight 5ms (cache hit) 228 http fetch GET 200 https://registry.npmjs.org/fs.realpath 6ms (cache hit) 229 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 5ms (cache hit) 230 http fetch GET 200 https://registry.npmjs.org/minimatch 6ms (cache hit) 231 timing idealTree:node_modules/rimraf Completed in 7ms 232 silly placeDep ROOT fs.realpath@1.0.0 OK for: glob@7.2.3 want: ^1.0.0 233 silly placeDep ROOT inflight@1.0.6 OK for: glob@7.2.3 want: ^1.0.4 234 silly placeDep ROOT minimatch@3.1.2 OK for: glob@7.2.3 want: ^3.1.1 235 silly placeDep ROOT once@1.4.0 OK for: glob@7.2.3 want: ^1.3.0 236 silly placeDep ROOT path-is-absolute@1.0.1 OK for: glob@7.2.3 want: ^1.0.0 237 silly fetch manifest wrappy@1 238 silly fetch manifest brace-expansion@^1.1.7 239 http fetch GET 200 https://registry.npmjs.org/brace-expansion 5ms (cache hit) 240 http fetch GET 200 https://registry.npmjs.org/wrappy 6ms (cache hit) 241 timing idealTree:node_modules/glob Completed in 8ms 242 timing idealTree:node_modules/fs.realpath Completed in 0ms 243 silly placeDep ROOT wrappy@1.0.2 OK for: inflight@1.0.6 want: 1 244 timing idealTree:node_modules/inflight Completed in 1ms 245 silly placeDep ROOT brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7 246 silly fetch manifest balanced-match@^1.0.0 247 silly fetch manifest concat-map@0.0.1 248 http fetch GET 200 https://registry.npmjs.org/concat-map 2ms (cache hit) 249 http fetch GET 200 https://registry.npmjs.org/balanced-match 4ms (cache hit) 250 timing idealTree:node_modules/minimatch Completed in 5ms 251 silly placeDep ROOT balanced-match@1.0.2 OK for: brace-expansion@1.1.11 want: ^1.0.0 252 silly placeDep ROOT concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1 253 timing idealTree:node_modules/brace-expansion Completed in 1ms 254 timing idealTree:node_modules/balanced-match Completed in 0ms 255 timing idealTree:node_modules/concat-map Completed in 0ms 256 timing idealTree:node_modules/once Completed in 0ms 257 timing idealTree:node_modules/path-is-absolute Completed in 0ms 258 silly placeDep ROOT lru-cache@6.0.0 OK for: semver@7.3.7 want: ^6.0.0 259 timing idealTree:node_modules/semver Completed in 0ms 260 silly placeDep ROOT yallist@4.0.0 OK for: lru-cache@6.0.0 want: ^4.0.0 261 timing idealTree:node_modules/lru-cache Completed in 1ms 262 timing idealTree:node_modules/set-blocking Completed in 0ms 263 timing idealTree:node_modules/signal-exit Completed in 0ms 264 silly placeDep ROOT decompress-response@4.2.1 OK for: simple-get@3.1.1 want: ^4.2.0 265 silly placeDep ROOT simple-concat@1.0.1 OK for: simple-get@3.1.1 want: ^1.0.0 266 silly fetch manifest mimic-response@^2.0.0 267 http fetch GET 200 https://registry.npmjs.org/mimic-response 7ms (cache hit) 268 timing idealTree:node_modules/simple-get Completed in 7ms 269 silly placeDep ROOT mimic-response@2.1.0 OK for: decompress-response@4.2.1 want: ^2.0.0 270 timing idealTree:node_modules/decompress-response Completed in 1ms 271 timing idealTree:node_modules/mimic-response Completed in 0ms 272 timing idealTree:node_modules/simple-concat Completed in 0ms 273 silly placeDep ROOT safe-buffer@5.2.1 OK for: string_decoder@1.3.0 want: ~5.2.0 274 timing idealTree:node_modules/string_decoder Completed in 0ms 275 timing idealTree:node_modules/safe-buffer Completed in 0ms 276 silly placeDep ROOT emoji-regex@8.0.0 OK for: string-width@4.2.3 want: ^8.0.0 277 silly placeDep ROOT is-fullwidth-code-point@3.0.0 OK for: string-width@4.2.3 want: ^3.0.0 278 timing idealTree:node_modules/string-width Completed in 1ms 279 timing idealTree:node_modules/emoji-regex Completed in 0ms 280 timing idealTree:node_modules/is-fullwidth-code-point Completed in 0ms 281 silly placeDep ROOT ansi-regex@5.0.1 OK for: strip-ansi@6.0.1 want: ^5.0.1 282 timing idealTree:node_modules/strip-ansi Completed in 0ms 283 timing idealTree:node_modules/ansi-regex Completed in 0ms 284 silly placeDep ROOT chownr@2.0.0 OK for: tar@6.1.11 want: ^2.0.0 285 silly placeDep ROOT fs-minipass@2.1.0 OK for: tar@6.1.11 want: ^2.0.0 286 silly placeDep ROOT minipass@3.1.6 OK for: tar@6.1.11 want: ^3.0.0 287 silly placeDep ROOT minizlib@2.1.2 OK for: tar@6.1.11 want: ^2.1.1 288 silly placeDep ROOT mkdirp@1.0.4 OK for: tar@6.1.11 want: ^1.0.3 289 timing idealTree:node_modules/tar Completed in 1ms 290 timing idealTree:node_modules/chownr Completed in 0ms 291 timing idealTree:node_modules/fs-minipass Completed in 0ms 292 timing idealTree:node_modules/minipass Completed in 0ms 293 timing idealTree:node_modules/minizlib Completed in 0ms 294 timing idealTree:node_modules/mkdirp Completed in 0ms 295 timing idealTree:node_modules/util-deprecate Completed in 0ms 296 silly placeDep ROOT tr46@0.0.3 OK for: whatwg-url@5.0.0 want: ~0.0.3 297 silly placeDep ROOT webidl-conversions@3.0.1 OK for: whatwg-url@5.0.0 want: ^3.0.0 298 timing idealTree:node_modules/whatwg-url Completed in 1ms 299 timing idealTree:node_modules/tr46 Completed in 0ms 300 timing idealTree:node_modules/webidl-conversions Completed in 0ms 301 timing idealTree:node_modules/wide-align Completed in 0ms 302 timing idealTree:node_modules/wrappy Completed in 0ms 303 timing idealTree:node_modules/yallist Completed in 0ms 304 timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms 305 timing idealTree:buildDeps Completed in 163ms 306 timing idealTree:fixDepFlags Completed in 1ms 307 timing idealTree Completed in 170ms 308 timing reify:loadTrees Completed in 170ms 309 timing reify:diffTrees Completed in 1ms 310 silly reify moves {} 311 timing reify:retireShallow Completed in 1ms 312 timing reify:createSparse Completed in 30ms 313 timing reify:loadBundles Completed in 0ms 314 silly audit bulk request { 314 silly audit 'awesome-qr': [ '2.1.5-rc.0' ], 314 silly audit buffer: [ '6.0.3' ], 314 silly audit canvas: [ '2.9.1' ], 314 silly audit 'js-binary-schema-parser': [ '2.0.3' ], 314 silly audit 'base64-js': [ '1.5.1' ], 314 silly audit ieee754: [ '1.2.1' ], 314 silly audit '@mapbox/node-pre-gyp': [ '1.0.9' ], 314 silly audit nan: [ '2.16.0' ], 314 silly audit 'simple-get': [ '3.1.1' ], 314 silly audit 'detect-libc': [ '2.0.1' ], 314 silly audit 'https-proxy-agent': [ '5.0.1' ], 314 silly audit 'make-dir': [ '3.1.0' ], 314 silly audit 'node-fetch': [ '2.6.7' ], 314 silly audit nopt: [ '5.0.0' ], 314 silly audit npmlog: [ '5.0.1' ], 314 silly audit rimraf: [ '3.0.2' ], 314 silly audit semver: [ '7.3.7', '6.3.0' ], 314 silly audit tar: [ '6.1.11' ], 314 silly audit 'agent-base': [ '6.0.2' ], 314 silly audit debug: [ '4.3.4' ], 314 silly audit ms: [ '2.1.2' ], 314 silly audit 'whatwg-url': [ '5.0.0' ], 314 silly audit abbrev: [ '1.1.1' ], 314 silly audit 'are-we-there-yet': [ '2.0.0' ], 314 silly audit 'console-control-strings': [ '1.1.0' ], 314 silly audit gauge: [ '3.0.2' ], 314 silly audit 'set-blocking': [ '2.0.0' ], 314 silly audit delegates: [ '1.0.0' ], 314 silly audit 'readable-stream': [ '3.6.0' ], 314 silly audit aproba: [ '2.0.0' ], 314 silly audit 'color-support': [ '1.1.3' ], 314 silly audit 'has-unicode': [ '2.0.1' ], 314 silly audit 'object-assign': [ '4.1.1' ], 314 silly audit 'signal-exit': [ '3.0.7' ], 314 silly audit 'string-width': [ '4.2.3' ], 314 silly audit 'strip-ansi': [ '6.0.1' ], 314 silly audit 'wide-align': [ '1.1.5' ], 314 silly audit inherits: [ '2.0.4' ], 314 silly audit string_decoder: [ '1.3.0' ], 314 silly audit 'util-deprecate': [ '1.0.2' ], 314 silly audit glob: [ '7.2.3' ], 314 silly audit 'fs.realpath': [ '1.0.0' ], 314 silly audit inflight: [ '1.0.6' ], 314 silly audit minimatch: [ '3.1.2' ], 314 silly audit once: [ '1.4.0' ], 314 silly audit 'path-is-absolute': [ '1.0.1' ], 314 silly audit wrappy: [ '1.0.2' ], 314 silly audit 'brace-expansion': [ '1.1.11' ], 314 silly audit 'balanced-match': [ '1.0.2' ], 314 silly audit 'concat-map': [ '0.0.1' ], 314 silly audit 'lru-cache': [ '6.0.0' ], 314 silly audit yallist: [ '4.0.0' ], 314 silly audit 'decompress-response': [ '4.2.1' ], 314 silly audit 'simple-concat': [ '1.0.1' ], 314 silly audit 'mimic-response': [ '2.1.0' ], 314 silly audit 'safe-buffer': [ '5.2.1' ], 314 silly audit 'emoji-regex': [ '8.0.0' ], 314 silly audit 'is-fullwidth-code-point': [ '3.0.0' ], 314 silly audit 'ansi-regex': [ '5.0.1' ], 314 silly audit chownr: [ '2.0.0' ], 314 silly audit 'fs-minipass': [ '2.1.0' ], 314 silly audit minipass: [ '3.1.6' ], 314 silly audit minizlib: [ '2.1.2' ], 314 silly audit mkdirp: [ '1.0.4' ], 314 silly audit tr46: [ '0.0.3' ], 314 silly audit 'webidl-conversions': [ '3.0.1' ] 314 silly audit } 315 timing reifyNode:node_modules/chownr Completed in 204ms 316 timing reifyNode:node_modules/path-is-absolute Completed in 204ms 317 timing reifyNode:node_modules/brace-expansion Completed in 204ms 318 timing reifyNode:node_modules/once Completed in 204ms 319 timing reifyNode:node_modules/wrappy Completed in 204ms 320 timing reifyNode:node_modules/inflight Completed in 205ms 321 timing reifyNode:node_modules/wide-align Completed in 205ms 322 timing reifyNode:node_modules/object-assign Completed in 205ms 323 timing reifyNode:node_modules/has-unicode Completed in 205ms 324 timing reifyNode:node_modules/abbrev Completed in 205ms 325 timing reifyNode:node_modules/ms Completed in 206ms 326 timing reifyNode:node_modules/webidl-conversions Completed in 207ms 327 timing reifyNode:node_modules/fs-minipass Completed in 207ms 328 timing reifyNode:node_modules/ansi-regex Completed in 207ms 329 timing reifyNode:node_modules/is-fullwidth-code-point Completed in 207ms 330 timing reifyNode:node_modules/decompress-response Completed in 207ms 331 timing reifyNode:node_modules/lru-cache Completed in 207ms 332 timing reifyNode:node_modules/mimic-response Completed in 207ms 333 timing reifyNode:node_modules/inherits Completed in 208ms 334 timing reifyNode:node_modules/string-width Completed in 208ms 335 timing reifyNode:node_modules/signal-exit Completed in 208ms 336 timing reifyNode:node_modules/strip-ansi Completed in 208ms 337 timing reifyNode:node_modules/aproba Completed in 208ms 338 timing reifyNode:node_modules/set-blocking Completed in 208ms 339 timing reifyNode:node_modules/console-control-strings Completed in 208ms 340 timing reifyNode:node_modules/npmlog Completed in 207ms 341 timing reifyNode:node_modules/make-dir Completed in 207ms 342 timing reifyNode:node_modules/simple-get Completed in 208ms 343 timing reifyNode:node_modules/ieee754 Completed in 208ms 344 timing reifyNode:node_modules/yallist Completed in 209ms 345 timing reifyNode:node_modules/balanced-match Completed in 209ms 346 timing reifyNode:node_modules/util-deprecate Completed in 209ms 347 timing reifyNode:node_modules/fs.realpath Completed in 209ms 348 timing reifyNode:node_modules/string_decoder Completed in 209ms 349 timing reifyNode:node_modules/color-support Completed in 210ms 350 timing reifyNode:node_modules/minizlib Completed in 212ms 351 timing reifyNode:node_modules/simple-concat Completed in 211ms 352 timing reifyNode:node_modules/minipass Completed in 211ms 353 timing reifyNode:node_modules/base64-js Completed in 210ms 354 timing reifyNode:node_modules/minimatch Completed in 211ms 355 timing reifyNode:node_modules/safe-buffer Completed in 212ms 356 timing reifyNode:node_modules/rimraf Completed in 211ms 357 timing reifyNode:node_modules/concat-map Completed in 213ms 358 timing reifyNode:node_modules/delegates Completed in 213ms 359 timing reifyNode:node_modules/debug Completed in 213ms 360 timing reifyNode:node_modules/detect-libc Completed in 213ms 361 timing reifyNode:node_modules/are-we-there-yet Completed in 215ms 362 timing reifyNode:node_modules/nopt Completed in 214ms 363 timing reifyNode:node_modules/glob Completed in 215ms 364 timing reifyNode:node_modules/emoji-regex Completed in 216ms 365 timing reifyNode:node_modules/whatwg-url Completed in 217ms 366 timing reifyNode:node_modules/mkdirp Completed in 218ms 367 timing reifyNode:node_modules/buffer Completed in 218ms 368 timing reifyNode:node_modules/https-proxy-agent Completed in 219ms 369 timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 219ms 370 timing reifyNode:node_modules/agent-base Completed in 220ms 371 timing reifyNode:node_modules/node-fetch Completed in 219ms 372 timing reifyNode:node_modules/tr46 Completed in 222ms 373 timing reifyNode:node_modules/gauge Completed in 222ms 374 timing reifyNode:node_modules/readable-stream Completed in 229ms 375 timing reifyNode:node_modules/tar Completed in 231ms 376 timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 232ms 377 timing reifyNode:node_modules/semver Completed in 234ms 378 timing reifyNode:node_modules/canvas Completed in 238ms 379 timing reifyNode:node_modules/nan Completed in 239ms 380 timing reifyNode:node_modules/js-binary-schema-parser Completed in 245ms 381 timing reifyNode:node_modules/awesome-qr Completed in 272ms 382 timing reify:unpack Completed in 274ms 383 timing reify:unretire Completed in 0ms 384 timing build:queue Completed in 1ms 385 timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 3ms 386 timing build:link:node_modules/color-support Completed in 3ms 387 timing build:link:node_modules/mkdirp Completed in 2ms 388 timing build:link:node_modules/semver Completed in 2ms 389 timing build:link:node_modules/rimraf Completed in 2ms 390 timing build:link:node_modules/nopt Completed in 2ms 391 timing build:link:node_modules/make-dir/node_modules/semver Completed in 2ms 392 timing build:link Completed in 3ms 393 info run canvas@2.9.1 install node_modules/canvas node-pre-gyp install --fallback-to-build 394 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 382ms 395 timing auditReport:getReport Completed in 383ms 396 silly audit report {} 397 timing auditReport:init Completed in 0ms 398 timing reify:audit Completed in 383ms 399 info run canvas@2.9.1 install { code: 1, signal: null } 400 timing reify:rollback:createSparse Completed in 89ms 401 timing reify:rollback:retireShallow Completed in 0ms 402 timing command:install Completed in 1600ms 403 verbose stack Error: command failed 403 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27) 403 verbose stack at ChildProcess.emit (node:events:526:28) 403 verbose stack at maybeClose (node:internal/child_process:1092:16) 403 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 404 verbose pkgid canvas@2.9.1 405 verbose cwd /Users/jeffrey.j.mills/dev/qracc 406 verbose Darwin 21.4.0 407 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "awesome-qr" 408 verbose node v16.14.2 409 verbose npm v8.5.0 410 error code 1 411 error path /Users/jeffrey.j.mills/dev/qracc/node_modules/canvas 412 error command failed 413 error command sh -c node-pre-gyp install --fallback-to-build 414 error Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) 415 error node-pre-gyp info it worked if it ends with ok 415 error node-pre-gyp info using node-pre-gyp@1.0.9 415 error node-pre-gyp info using node@16.14.2 | darwin | arm64 415 error node-pre-gyp info check checked for "/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release/canvas.node" (not found) 415 error node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.9.1/canvas-v2.9.1-node-v93-darwin-unknown-arm64.tar.gz 415 error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.1/canvas-v2.9.1-node-v93-darwin-unknown-arm64.tar.gz 415 error node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.1 and node@16.14.2 (node-v93 ABI, unknown) (falling back to source compile with node-gyp) 415 error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.1/canvas-v2.9.1-node-v93-darwin-unknown-arm64.tar.gz 415 error gyp info it worked if it ends with ok 415 error gyp info using node-gyp@8.4.1 415 error gyp info using node@16.14.2 | darwin | arm64 415 error gyp info ok 415 error gyp info it worked if it ends with ok 415 error gyp info using node-gyp@8.4.1 415 error gyp info using node@16.14.2 | darwin | arm64 415 error gyp info find Python using Python version 3.8.9 found at "/Library/Developer/CommandLineTools/usr/bin/python3" 415 error gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3 415 error gyp info spawn args [ 415 error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', 415 error gyp info spawn args 'binding.gyp', 415 error gyp info spawn args '-f', 415 error gyp info spawn args 'make', 415 error gyp info spawn args '-I', 415 error gyp info spawn args '/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/config.gypi', 415 error gyp info spawn args '-I', 415 error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', 415 error gyp info spawn args '-I', 415 error gyp info spawn args '/Users/jeffrey.j.mills/Library/Caches/node-gyp/16.14.2/include/node/common.gypi', 415 error gyp info spawn args '-Dlibrary=shared_library', 415 error gyp info spawn args '-Dvisibility=default', 415 error gyp info spawn args '-Dnode_root_dir=/Users/jeffrey.j.mills/Library/Caches/node-gyp/16.14.2', 415 error gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', 415 error gyp info spawn args '-Dnode_lib_file=/Users/jeffrey.j.mills/Library/Caches/node-gyp/16.14.2/<(target_arch)/node.lib', 415 error gyp info spawn args '-Dmodule_root_dir=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas', 415 error gyp info spawn args '-Dnode_engine=v8', 415 error gyp info spawn args '--depth=.', 415 error gyp info spawn args '--no-parallel', 415 error gyp info spawn args '--generator-output', 415 error gyp info spawn args 'build', 415 error gyp info spawn args '-Goutput_dir=.' 415 error gyp info spawn args ] 415 error /bin/sh: pkg-config: command not found 415 error gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp 415 error gyp ERR! configure error 415 error gyp ERR! stack Error: gyp failed with exit code: 1 415 error gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:259:16) 415 error gyp ERR! stack at ChildProcess.emit (node:events:526:28) 415 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) 415 error gyp ERR! System Darwin 21.4.0 415 error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93" 415 error gyp ERR! cwd /Users/jeffrey.j.mills/dev/qracc/node_modules/canvas 415 error gyp ERR! node -v v16.14.2 415 error gyp ERR! node-gyp -v v8.4.1 415 error gyp ERR! not ok 415 error node-pre-gyp ERR! build error 415 error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/Users/jeffrey.j.mills/dev/qracc/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) 415 error node-pre-gyp ERR! stack at ChildProcess. (/Users/jeffrey.j.mills/dev/qracc/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) 415 error node-pre-gyp ERR! stack at ChildProcess.emit (node:events:526:28) 415 error node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1092:16) 415 error node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 415 error node-pre-gyp ERR! System Darwin 21.4.0 415 error node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/jeffrey.j.mills/dev/qracc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" 415 error node-pre-gyp ERR! cwd /Users/jeffrey.j.mills/dev/qracc/node_modules/canvas 415 error node-pre-gyp ERR! node -v v16.14.2 415 error node-pre-gyp ERR! node-pre-gyp -v v1.0.9 415 error node-pre-gyp ERR! not ok 416 verbose exit 1 417 timing npm Completed in 1761ms 418 verbose unfinished npm timer reify 1653589983436 419 verbose unfinished npm timer reify:build 1653589983921 420 verbose unfinished npm timer build 1653589983922 421 verbose unfinished npm timer build:deps 1653589983922 422 verbose unfinished npm timer build:run:install 1653589983926 423 verbose unfinished npm timer build:run:install:node_modules/canvas 1653589983926 424 verbose code 1 425 error A complete log of this run can be found in: 425 error /Users/jeffrey.j.mills/.npm/_logs/2022-05-26T18_33_03_276Z-debug-0.log

ls12styler commented 2 years ago

Hello! I just had the same issue. This isn't specifically an issue with awesome-qr, but an issue with how your environment is set up and the use of node-canvas. There are instructions on how to setup your environment on the node-canvas project here: https://github.com/Automattic/node-canvas#compiling

I've just done this and it now successfully installs.