Installation error: Prebuilt libvips 8.12.2 binaries are not yet available for darwin-arm64v8

Possible install-time or require-time problem

[x] I have read the documentation relating to installation.
[x] I have ensured that the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime.

Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
What is the complete output of running npm install --verbose --foreground-scripts sharp in an empty directory?

npm verb cli [
npm verb cli   '/Users/cwr/.nvm/versions/node/v16.13.1/bin/node',
npm verb cli   '/Users/cwr/.nvm/versions/node/v16.13.1/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '--foreground-scripts',
npm verb cli   'sharp'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:/Users/cwr/.nvm/versions/node/v16.13.1/lib/node_modules/npm/npmrc Completed in 0ms
npm timing config:load:builtin Completed in 0ms
npm timing config:load:cli Completed in 1ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/Users/cwr/ones/compare-pictures/.npmrc Completed in 1ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/Users/cwr/.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:/Users/cwr/.nvm/versions/node/v16.13.1/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 0ms
npm timing config:load Completed in 6ms
npm timing npm:load:configload Completed in 6ms
npm timing npm:load:setTitle Completed in 5ms
npm timing config:load:flatten Completed in 1ms
npm timing npm:load:display Completed in 3ms
npm verb logfile /Users/cwr/.npm/_logs/2022-04-29T09_29_47_114Z-debug-0.log
npm timing npm:load:logFile Completed in 3ms
npm timing npm:load:timers Completed in 1ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 19ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 5ms
npm timing idealTree:userRequests Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/sharp 1459ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 344ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 1131ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 1133ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 1330ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color 1334ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 1332ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/semver 1336ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 2431ms (cache revalidated)
npm timing idealTree:#root Completed in 3907ms
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 491ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 543ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/pump 645ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 649ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 648ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minimist 650ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/npmlog 651ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/rc 657ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/once 786ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 808ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 915ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-string 1236ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 1839ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 1897ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 1998ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/chownr 2479ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 2930ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 3014ms (cache revalidated)
npm timing idealTree:node_modules/sharp Completed in 3039ms
npm http fetch GET 200 https://registry.npmjs.org/color-name 288ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 299ms (cache revalidated)
npm timing idealTree:node_modules/color Completed in 309ms
npm timing idealTree:node_modules/color-convert Completed in 3ms
npm timing idealTree:node_modules/color-name Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 307ms (cache revalidated)
npm timing idealTree:node_modules/color-string Completed in 311ms
npm timing idealTree:node_modules/detect-libc Completed in 0ms
npm timing idealTree:node_modules/node-addon-api Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/gauge 326ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ini 331ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/set-blocking 337ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/console-control-strings 375ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 378ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 378ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 383ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 1189ms (cache revalidated)
npm timing idealTree:node_modules/prebuild-install Completed in 1205ms
npm timing idealTree:node_modules/expand-template Completed in 0ms
npm timing idealTree:node_modules/github-from-package Completed in 0ms
npm timing idealTree:node_modules/minimist Completed in 0ms
npm timing idealTree:node_modules/mkdirp-classic Completed in 0ms
npm timing idealTree:node_modules/napi-build-utils Completed in 0ms
npm timing idealTree:node_modules/node-abi Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 310ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aproba 314ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 311ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/has-unicode 318ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/wide-align 316ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/string-width 318ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 322ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/delegates 327ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 326ms (cache revalidated)
npm timing idealTree:node_modules/npmlog Completed in 336ms
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 268ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/isarray 316ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 316ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 318ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 321ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/inherits 320ms (cache revalidated)
npm timing idealTree:node_modules/are-we-there-yet Completed in 324ms
npm timing idealTree:node_modules/console-control-strings Completed in 0ms
npm timing idealTree:node_modules/delegates Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/code-point-at 426ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 440ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 444ms (cache revalidated)
npm timing idealTree:node_modules/gauge Completed in 468ms
npm timing idealTree:node_modules/aproba Completed in 0ms
npm timing idealTree:node_modules/has-unicode Completed in 0ms
npm timing idealTree:node_modules/object-assign Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 357ms (cache revalidated)
npm timing idealTree:node_modules/pump Completed in 362ms
npm timing idealTree:node_modules/end-of-stream Completed in 0ms
npm timing idealTree:node_modules/once Completed in 1ms
npm timing idealTree:node_modules/rc Completed in 2ms
npm timing idealTree:node_modules/deep-extend Completed in 0ms
npm timing idealTree:node_modules/ini Completed in 0ms
npm timing idealTree:node_modules/readable-stream Completed in 8ms
npm timing idealTree:node_modules/core-util-is Completed in 0ms
npm timing idealTree:node_modules/inherits Completed in 0ms
npm timing idealTree:node_modules/isarray Completed in 0ms
npm timing idealTree:node_modules/process-nextick-args Completed in 0ms
npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/yallist 386ms (cache revalidated)
npm timing idealTree:node_modules/semver Completed in 388ms
npm timing idealTree:node_modules/lru-cache Completed in 3ms
npm timing idealTree:node_modules/set-blocking Completed in 0ms
npm timing idealTree:node_modules/signal-exit Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 270ms (cache revalidated)
npm timing idealTree:node_modules/simple-get Completed in 277ms
npm timing idealTree:node_modules/decompress-response Completed in 1ms
npm timing idealTree:node_modules/mimic-response Completed in 0ms
npm timing idealTree:node_modules/simple-concat Completed in 0ms
npm timing idealTree:node_modules/simple-swizzle Completed in 1ms
npm timing idealTree:node_modules/is-arrayish Completed in 0ms
npm timing idealTree:node_modules/string_decoder Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/number-is-nan 366ms (cache revalidated)
npm timing idealTree:node_modules/string-width Completed in 373ms
npm timing idealTree:node_modules/code-point-at Completed in 0ms
npm timing idealTree:node_modules/is-fullwidth-code-point Completed in 3ms
npm timing idealTree:node_modules/number-is-nan Completed in 0ms
npm timing idealTree:node_modules/strip-ansi Completed in 1ms
npm timing idealTree:node_modules/ansi-regex Completed in 0ms
npm timing idealTree:node_modules/strip-json-comments Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/bl 381ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 383ms (cache revalidated)
npm timing idealTree:node_modules/tar-fs Completed in 388ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/buffer 278ms (cache revalidated)
npm timing idealTree:node_modules/tar-stream Completed in 287ms
npm http fetch GET 200 https://registry.npmjs.org/ieee754 350ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/base64-js 351ms (cache revalidated)
npm timing idealTree:node_modules/bl Completed in 355ms
npm timing idealTree:node_modules/buffer Completed in 4ms
npm timing idealTree:node_modules/base64-js Completed in 0ms
npm timing idealTree:node_modules/fs-constants Completed in 0ms
npm timing idealTree:node_modules/ieee754 Completed in 0ms
npm timing idealTree:node_modules/tunnel-agent Completed in 0ms
npm timing idealTree:node_modules/util-deprecate Completed in 0ms
npm timing idealTree:node_modules/wide-align Completed in 0ms
npm timing idealTree:node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/bl/node_modules/readable-stream Completed in 0ms
npm timing idealTree:node_modules/tar-stream/node_modules/readable-stream Completed in 0ms
npm timing idealTree:buildDeps Completed in 12376ms
npm timing idealTree:fixDepFlags Completed in 2ms
npm timing idealTree Completed in 12388ms
npm timing reify:loadTrees Completed in 12388ms
npm timing reify:diffTrees Completed in 4ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 14ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/ansi-regex Completed in 80ms
npm timing reifyNode:node_modules/number-is-nan Completed in 81ms
npm timing reifyNode:node_modules/code-point-at Completed in 81ms
npm timing reifyNode:node_modules/chownr Completed in 83ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 82ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 82ms
npm timing reifyNode:node_modules/once Completed in 82ms
npm timing reifyNode:node_modules/wide-align Completed in 82ms
npm timing reifyNode:node_modules/string-width Completed in 82ms
npm timing reifyNode:node_modules/ini Completed in 82ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 82ms
npm timing reifyNode:node_modules/has-unicode Completed in 81ms
npm timing reifyNode:node_modules/wrappy Completed in 82ms
npm timing reifyNode:node_modules/object-assign Completed in 82ms
npm timing reifyNode:node_modules/aproba Completed in 82ms
npm timing reifyNode:node_modules/strip-ansi Completed in 83ms
npm timing reifyNode:node_modules/end-of-stream Completed in 83ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 82ms
npm timing reifyNode:node_modules/color-name Completed in 81ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 82ms
npm timing reifyNode:node_modules/color-string Completed in 82ms
npm timing reifyNode:node_modules/fs-constants Completed in 86ms
npm timing reifyNode:node_modules/ieee754 Completed in 87ms
npm timing reifyNode:node_modules/mimic-response Completed in 85ms
npm timing reifyNode:node_modules/decompress-response Completed in 86ms
npm timing reifyNode:node_modules/inherits Completed in 85ms
npm timing reifyNode:node_modules/lru-cache Completed in 86ms
npm timing reifyNode:node_modules/console-control-strings Completed in 84ms
npm timing reifyNode:node_modules/signal-exit Completed in 85ms
npm timing reifyNode:node_modules/core-util-is Completed in 85ms
npm timing reifyNode:node_modules/color Completed in 82ms
npm timing reifyNode:node_modules/set-blocking Completed in 85ms
npm timing reifyNode:node_modules/base64-js Completed in 88ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 84ms
npm timing reifyNode:node_modules/util-deprecate Completed in 87ms
npm timing reifyNode:node_modules/yallist Completed in 87ms
npm timing reifyNode:node_modules/expand-template Completed in 85ms
npm timing reifyNode:node_modules/simple-concat Completed in 88ms
npm timing reifyNode:node_modules/deep-extend Completed in 87ms
npm timing reifyNode:node_modules/string_decoder Completed in 88ms
npm timing reifyNode:node_modules/npmlog Completed in 86ms
npm timing reifyNode:node_modules/pump Completed in 87ms
npm timing reifyNode:node_modules/safe-buffer Completed in 89ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 87ms
npm timing reifyNode:node_modules/isarray Completed in 88ms
npm timing reifyNode:node_modules/is-arrayish Completed in 89ms
npm timing reifyNode:node_modules/delegates Completed in 88ms
npm timing reifyNode:node_modules/color-convert Completed in 87ms
npm timing reifyNode:node_modules/detect-libc Completed in 87ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 89ms
npm timing reifyNode:node_modules/tar-stream Completed in 93ms
npm timing reifyNode:node_modules/simple-get Completed in 90ms
npm timing reifyNode:node_modules/buffer Completed in 94ms
npm timing reifyNode:node_modules/github-from-package Completed in 90ms
npm timing reifyNode:node_modules/rc Completed in 92ms
npm timing reifyNode:node_modules/bl Completed in 95ms
npm timing reifyNode:node_modules/prebuild-install Completed in 91ms
npm timing reifyNode:node_modules/node-abi Completed in 93ms
npm timing reifyNode:node_modules/gauge Completed in 94ms
npm timing reifyNode:node_modules/minimist Completed in 94ms
npm timing reifyNode:node_modules/readable-stream Completed in 99ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 102ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 103ms
npm timing reifyNode:node_modules/tar-fs Completed in 105ms
npm timing reifyNode:node_modules/node-addon-api Completed in 106ms
npm timing reifyNode:node_modules/semver Completed in 106ms
npm timing reifyNode:node_modules/sharp Completed in 107ms
npm timing reify:unpack Completed in 113ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 1ms
npm timing build:link:node_modules/prebuild-install Completed in 1ms
npm timing build:link:node_modules/rc Completed in 1ms
npm timing build:link:node_modules/semver Completed in 1ms
npm timing build:link Completed in 1ms
npm info run<EMAIL_ADDRESS>install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

><EMAIL_ADDRESS>install
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 635ms
npm timing auditReport:getReport Completed in 639ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 639ms
sharp: Downloading https://npm.taobao.org/mirrors/sharp-libvips/libvips-8.12.2-darwin-arm64v8.tar.br
sharp: Installation error: Prebuilt libvips 8.12.2 binaries are not yet available for darwin-arm64v8
sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 43ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 15689ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/Users/cwr/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:390:28)
npm verb stack     at maybeClose (node:internal/child_process:1064:16)
npm verb stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /Users/cwr/ones/compare-pictures
npm verb Darwin 21.4.0
npm verb argv "/Users/cwr/.nvm/versions/node/v16.13.1/bin/node" "/Users/cwr/.nvm/versions/node/v16.13.1/bin/npm" "install" "--verbose" "--foreground-scripts" "sharp"
npm verb node v16.13.1
npm verb npm  v8.3.0
npm ERR! code 1
npm ERR! path /Users/cwr/ones/compare-pictures/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm verb exit 1
npm timing npm Completed in 15848ms
npm verb unfinished npm timer reify<PHONE_NUMBER>272
npm verb unfinished npm timer reify:build<PHONE_NUMBER>805
npm verb unfinished npm timer build<PHONE_NUMBER>805
npm verb unfinished npm timer build:deps<PHONE_NUMBER>806
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>809
npm verb unfinished npm timer build:run:install:node_modules/sharp<PHONE_NUMBER>809
npm verb code 1

npm ERR!      /Users/cwr/.npm/_logs/2022-04-29T09_29_47_114Z-debug-0.log

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

  System:
    OS: macOS 12.3.1
    CPU: (8) arm64 Apple M1
    Memory: 69.20 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.1/bin/yarn
    npm: 8.3.0 - ~/.nvm/versions/node/v16.13.1/bin/npm

What could be causing the problem?

sharp: Downloading https://npm.taobao.org/mirrors/sharp-libvips/libvips-8.12.2-darwin-arm64v8.tar.br

This suggests you're using the Chinese mirror for binaries but it looks like its URL structure has recently changed.
Please can you try:
npm_config_sharp_binary_host="https://registry.npmmirror.com/-/binary/sharp" \
  npm_config_sharp_libvips_binary_host="https://registry.npmmirror.com/-/binary/sharp-libvips" \
  npm install sharp

npm install --verbose --foreground-scripts sharp

Still failed
npm_config_sharp_binary_host="https://registry.npmmirror.com/-/binary/sharp" \
  npm_config_sharp_libvips_binary_host="https://registry.npmmirror.com/-/binary/sharp-libvips" \
  npm install --verbose --foreground-scripts sharp
npm verb cli [
npm verb cli   '/Users/cwr/.nvm/versions/node/v16.13.1/bin/node',
npm verb cli   '/Users/cwr/.nvm/versions/node/v16.13.1/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '--foreground-scripts',
npm verb cli   'sharp'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 0ms
npm timing config:load:file:/Users/cwr/.nvm/versions/node/v16.13.1/lib/node_modules/npm/npmrc Completed in 0ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 0ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/Users/cwr/ones/compare-pictures/.npmrc Completed in 1ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/Users/cwr/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/Users/cwr/.nvm/versions/node/v16.13.1/etc/npmrc Completed in 1ms
npm timing config:load:global Completed in 1ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 0ms
npm timing config:load:setEnvs Completed in 0ms
npm timing config:load Completed in 5ms
npm timing npm:load:configload Completed in 6ms
npm timing npm:load:setTitle Completed in 5ms
npm timing config:load:flatten Completed in 1ms
npm timing npm:load:display Completed in 5ms
npm verb logfile /Users/cwr/.npm/_logs/2022-04-29T09_56_41_220Z-debug-0.log
npm timing npm:load:logFile Completed in 2ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 19ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 7ms
npm timing idealTree:userRequests Completed in 0ms
npm verb shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
npm http fetch GET 200 https://registry.npmjs.org/sharp 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/semver 10ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 10ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 11ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 11ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color 12ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 12ms (cache hit)
npm timing idealTree:#root Completed in 24ms
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 15ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 13ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/minimist 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/pump 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/once 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/rc 18ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/chownr 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 18ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 19ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color-string 20ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/npmlog 20ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 20ms (cache hit)
npm timing idealTree:node_modules/sharp Completed in 32ms
npm http fetch GET 200 https://registry.npmjs.org/color-name 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 2ms (cache hit)
npm timing idealTree:node_modules/color Completed in 5ms
npm timing idealTree:node_modules/color-convert Completed in 1ms
npm timing idealTree:node_modules/color-name Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 3ms (cache hit)
npm timing idealTree:node_modules/color-string Completed in 3ms
npm timing idealTree:node_modules/detect-libc Completed in 0ms
npm timing idealTree:node_modules/node-addon-api Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/gauge 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/set-blocking 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ini 10ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/console-control-strings 12ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 13ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 12ms (cache hit)
npm timing idealTree:node_modules/prebuild-install Completed in 18ms
npm timing idealTree:node_modules/expand-template Completed in 0ms
npm timing idealTree:node_modules/github-from-package Completed in 0ms
npm timing idealTree:node_modules/minimist Completed in 0ms
npm timing idealTree:node_modules/mkdirp-classic Completed in 0ms
npm timing idealTree:node_modules/napi-build-utils Completed in 0ms
npm timing idealTree:node_modules/node-abi Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/delegates 10ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/has-unicode 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/aproba 15ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 15ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/wide-align 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/string-width 16ms (cache hit)
npm timing idealTree:node_modules/npmlog Completed in 22ms
npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/isarray 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/inherits 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 7ms (cache hit)
npm timing idealTree:node_modules/are-we-there-yet Completed in 9ms
npm timing idealTree:node_modules/console-control-strings Completed in 0ms
npm timing idealTree:node_modules/delegates Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 3ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/code-point-at 4ms (cache hit)
npm timing idealTree:node_modules/gauge Completed in 7ms
npm timing idealTree:node_modules/aproba Completed in 0ms
npm timing idealTree:node_modules/has-unicode Completed in 0ms
npm timing idealTree:node_modules/object-assign Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 4ms (cache hit)
npm timing idealTree:node_modules/pump Completed in 6ms
npm timing idealTree:node_modules/end-of-stream Completed in 0ms
npm timing idealTree:node_modules/once Completed in 1ms
npm timing idealTree:node_modules/rc Completed in 1ms
npm timing idealTree:node_modules/deep-extend Completed in 0ms
npm timing idealTree:node_modules/ini Completed in 0ms
npm timing idealTree:node_modules/readable-stream Completed in 3ms
npm timing idealTree:node_modules/core-util-is Completed in 0ms
npm timing idealTree:node_modules/inherits Completed in 0ms
npm timing idealTree:node_modules/isarray Completed in 0ms
npm timing idealTree:node_modules/process-nextick-args Completed in 0ms
npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/yallist 3ms (cache hit)
npm timing idealTree:node_modules/semver Completed in 4ms
npm timing idealTree:node_modules/lru-cache Completed in 1ms
npm timing idealTree:node_modules/set-blocking Completed in 0ms
npm timing idealTree:node_modules/signal-exit Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 3ms (cache hit)
npm timing idealTree:node_modules/simple-get Completed in 5ms
npm timing idealTree:node_modules/decompress-response Completed in 0ms
npm timing idealTree:node_modules/mimic-response Completed in 0ms
npm timing idealTree:node_modules/simple-concat Completed in 0ms
npm timing idealTree:node_modules/simple-swizzle Completed in 0ms
npm timing idealTree:node_modules/is-arrayish Completed in 0ms
npm timing idealTree:node_modules/string_decoder Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/number-is-nan 4ms (cache hit)
npm timing idealTree:node_modules/string-width Completed in 5ms
npm timing idealTree:node_modules/code-point-at Completed in 0ms
npm timing idealTree:node_modules/is-fullwidth-code-point Completed in 1ms
npm timing idealTree:node_modules/number-is-nan Completed in 0ms
npm timing idealTree:node_modules/strip-ansi Completed in 0ms
npm timing idealTree:node_modules/ansi-regex Completed in 0ms
npm timing idealTree:node_modules/strip-json-comments Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/bl 3ms (cache hit)
npm timing idealTree:node_modules/tar-fs Completed in 4ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/buffer 1ms (cache hit)
npm timing idealTree:node_modules/tar-stream Completed in 5ms
npm http fetch GET 200 https://registry.npmjs.org/ieee754 3ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/base64-js 3ms (cache hit)
npm timing idealTree:node_modules/bl Completed in 4ms
npm timing idealTree:node_modules/buffer Completed in 1ms
npm timing idealTree:node_modules/base64-js Completed in 0ms
npm timing idealTree:node_modules/fs-constants Completed in 0ms
npm timing idealTree:node_modules/ieee754 Completed in 0ms
npm timing idealTree:node_modules/tunnel-agent Completed in 0ms
npm timing idealTree:node_modules/util-deprecate Completed in 0ms
npm timing idealTree:node_modules/wide-align Completed in 0ms
npm timing idealTree:node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/bl/node_modules/readable-stream Completed in 0ms
npm timing idealTree:node_modules/tar-stream/node_modules/readable-stream Completed in 0ms
npm timing idealTree:buildDeps Completed in 164ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 173ms
npm timing reify:loadTrees Completed in 173ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 3ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/chownr Completed in 74ms
npm timing reifyNode:node_modules/ansi-regex Completed in 74ms
npm timing reifyNode:node_modules/number-is-nan Completed in 74ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 74ms
npm timing reifyNode:node_modules/code-point-at Completed in 74ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 74ms
npm timing reifyNode:node_modules/ini Completed in 75ms
npm timing reifyNode:node_modules/end-of-stream Completed in 74ms
npm timing reifyNode:node_modules/once Completed in 74ms
npm timing reifyNode:node_modules/wrappy Completed in 75ms
npm timing reifyNode:node_modules/strip-ansi Completed in 74ms
npm timing reifyNode:node_modules/string-width Completed in 74ms
npm timing reifyNode:node_modules/aproba Completed in 74ms
npm timing reifyNode:node_modules/has-unicode Completed in 74ms
npm timing reifyNode:node_modules/wide-align Completed in 74ms
npm timing reifyNode:node_modules/color-name Completed in 75ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 76ms
npm timing reifyNode:node_modules/object-assign Completed in 75ms
npm timing reifyNode:node_modules/color-string Completed in 75ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 75ms
npm timing reifyNode:node_modules/ieee754 Completed in 76ms
npm timing reifyNode:node_modules/fs-constants Completed in 76ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 83ms
npm timing reifyNode:node_modules/mimic-response Completed in 84ms
npm timing reifyNode:node_modules/lru-cache Completed in 84ms
npm timing reifyNode:node_modules/core-util-is Completed in 84ms
npm timing reifyNode:node_modules/inherits Completed in 84ms
npm timing reifyNode:node_modules/set-blocking Completed in 83ms
npm timing reifyNode:node_modules/decompress-response Completed in 85ms
npm timing reifyNode:node_modules/console-control-strings Completed in 84ms
npm timing reifyNode:node_modules/signal-exit Completed in 84ms
npm timing reifyNode:node_modules/color Completed in 84ms
npm timing reifyNode:node_modules/base64-js Completed in 86ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 85ms
npm timing reifyNode:node_modules/util-deprecate Completed in 87ms
npm timing reifyNode:node_modules/yallist Completed in 87ms
npm timing reifyNode:node_modules/simple-concat Completed in 88ms
npm timing reifyNode:node_modules/deep-extend Completed in 88ms
npm timing reifyNode:node_modules/safe-buffer Completed in 88ms
npm timing reifyNode:node_modules/string_decoder Completed in 88ms
npm timing reifyNode:node_modules/pump Completed in 87ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 87ms
npm timing reifyNode:node_modules/npmlog Completed in 87ms
npm timing reifyNode:node_modules/expand-template Completed in 88ms
npm timing reifyNode:node_modules/is-arrayish Completed in 89ms
npm timing reifyNode:node_modules/isarray Completed in 89ms
npm timing reifyNode:node_modules/delegates Completed in 89ms
npm timing reifyNode:node_modules/color-convert Completed in 90ms
npm timing reifyNode:node_modules/detect-libc Completed in 90ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 90ms
npm timing reifyNode:node_modules/tar-stream Completed in 92ms
npm timing reifyNode:node_modules/simple-get Completed in 91ms
npm timing reifyNode:node_modules/buffer Completed in 93ms
npm timing reifyNode:node_modules/github-from-package Completed in 93ms
npm timing reifyNode:node_modules/rc Completed in 93ms
npm timing reifyNode:node_modules/prebuild-install Completed in 98ms
npm timing reifyNode:node_modules/bl Completed in 99ms
npm timing reifyNode:node_modules/node-abi Completed in 99ms
npm timing reifyNode:node_modules/gauge Completed in 100ms
npm timing reifyNode:node_modules/minimist Completed in 108ms
npm timing reifyNode:node_modules/readable-stream Completed in 112ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 114ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 114ms
npm timing reifyNode:node_modules/tar-fs Completed in 117ms
npm timing reifyNode:node_modules/node-addon-api Completed in 117ms
npm timing reifyNode:node_modules/semver Completed in 118ms
npm timing reifyNode:node_modules/sharp Completed in 120ms
npm timing reify:unpack Completed in 121ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 2ms
npm timing build:link:node_modules/prebuild-install Completed in 0ms
npm timing build:link:node_modules/rc Completed in 0ms
npm timing build:link:node_modules/semver Completed in 0ms
npm timing build:link Completed in 0ms
npm info run<EMAIL_ADDRESS>install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

><EMAIL_ADDRESS>install
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Downloading https://registry.npmmirror.com/-/binary/sharp-libvipslibvips-8.12.2-darwin-arm64v8.tar.br& node install/dll-copy && pr
sharp: Integrity expected: sha512-p46s/bbJAjkOXzPISZt9HUpG9GWjwQkYnLLRLKzsBJHLtB3X6C6Y/zXI5Hd0DOojcFkks9a0kTN+uDQ/XJY19g==/dll-copy && pr
sharp: Integrity received: sha512-slspTLTetp6gCkw88xE5BIAbYBXllWvQGahXCx/h1gQOlE7zze4W0KRlA8puZZol8hz5zt3BPzUqPJgTjBXWrw==
sharp: Installation error: Integrity check failed for darwin-arm64v8
sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 2069ms
npm timing auditReport:getReport Completed in 2071ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 2071ms
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 49ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 2841ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/Users/cwr/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:390:28)
npm verb stack     at maybeClose (node:internal/child_process:1064:16)
npm verb stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /Users/cwr/ones/compare-pictures
npm verb Darwin 21.4.0
npm verb argv "/Users/cwr/.nvm/versions/node/v16.13.1/bin/node" "/Users/cwr/.nvm/versions/node/v16.13.1/bin/npm" "install" "--verbose" "--foreground-scripts" "sharp"
npm verb node v16.13.1
npm verb npm  v8.3.0
npm ERR! code 1
npm ERR! path /Users/cwr/ones/compare-pictures/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm verb exit 1
npm timing npm Completed in 2996ms
npm verb unfinished npm timer reify<PHONE_NUMBER>375
npm verb unfinished npm timer reify:build<PHONE_NUMBER>684
npm verb unfinished npm timer build<PHONE_NUMBER>684
npm verb unfinished npm timer build:deps<PHONE_NUMBER>684
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>686
npm verb unfinished npm timer build:run:install:node_modules/sharp<PHONE_NUMBER>686
npm verb code 1

npm ERR!      /Users/cwr/.npm/_logs/2022-04-29T09_56_41_220Z-debug-0.log

@lovell
Sorry , I clean cache.
Still failed
❯ npm_config_sharp_binary_host="https://registry.npmmirror.com/-/binary/sharp" \
  npm_config_sharp_libvips_binary_host="https://registry.npmmirror.com/-/binary/sharp-libvips" \
  npm install --verbose --foreground-scripts sharp
npm verb cli [
npm verb cli   '/Users/cwr/.nvm/versions/node/v16.13.1/bin/node',
npm verb cli   '/Users/cwr/.nvm/versions/node/v16.13.1/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '--foreground-scripts',
npm verb cli   'sharp'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:/Users/cwr/.nvm/versions/node/v16.13.1/lib/node_modules/npm/npmrc Completed in 0ms
npm timing config:load:builtin Completed in 0ms
npm timing config:load:cli Completed in 1ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/Users/cwr/ones/compare-pictures/.npmrc Completed in 1ms
npm timing config:load:project Completed in 2ms
npm timing config:load:file:/Users/cwr/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/Users/cwr/.nvm/versions/node/v16.13.1/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 1ms
npm timing config:load:credentials Completed in 0ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 6ms
npm timing npm:load:configload Completed in 6ms
npm timing npm:load:setTitle Completed in 4ms
npm timing config:load:flatten Completed in 1ms
npm timing npm:load:display Completed in 3ms
npm verb logfile /Users/cwr/.npm/_logs/2022-04-29T10_28_03_162Z-debug-0.log
npm timing npm:load:logFile Completed in 2ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 16ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 7ms
npm timing idealTree:userRequests Completed in 0ms
npm verb shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
npm http fetch GET 200 https://registry.npmjs.org/sharp 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/semver 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 10ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 10ms (cache hit)
npm timing idealTree:#root Completed in 21ms
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 15ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/chownr 15ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 15ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 18ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/once 16ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/minimist 18ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/npmlog 18ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/rc 19ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 17ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color-string 21ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/pump 19ms (cache hit)
npm timing idealTree:node_modules/sharp Completed in 28ms
npm http fetch GET 200 https://registry.npmjs.org/color-name 3ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 3ms (cache hit)
npm timing idealTree:node_modules/color Completed in 5ms
npm timing idealTree:node_modules/color-convert Completed in 1ms
npm timing idealTree:node_modules/color-name Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 1ms (cache hit)
npm timing idealTree:node_modules/color-string Completed in 2ms
npm timing idealTree:node_modules/detect-libc Completed in 0ms
npm timing idealTree:node_modules/node-addon-api Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/console-control-strings 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ini 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/set-blocking 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/gauge 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 9ms (cache hit)
npm timing idealTree:node_modules/prebuild-install Completed in 19ms
npm timing idealTree:node_modules/expand-template Completed in 0ms
npm timing idealTree:node_modules/github-from-package Completed in 0ms
npm timing idealTree:node_modules/minimist Completed in 0ms
npm timing idealTree:node_modules/mkdirp-classic Completed in 0ms
npm timing idealTree:node_modules/napi-build-utils Completed in 0ms
npm timing idealTree:node_modules/node-abi Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/delegates 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 10ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/aproba 11ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/has-unicode 11ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/string-width 14ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/wide-align 15ms (cache hit)
npm timing idealTree:node_modules/npmlog Completed in 18ms
npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 4ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 4ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/inherits 5ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 5ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 4ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/isarray 5ms (cache hit)
npm timing idealTree:node_modules/are-we-there-yet Completed in 7ms
npm timing idealTree:node_modules/console-control-strings Completed in 0ms
npm timing idealTree:node_modules/delegates Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 3ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 4ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/code-point-at 5ms (cache hit)
npm timing idealTree:node_modules/gauge Completed in 8ms
npm timing idealTree:node_modules/aproba Completed in 0ms
npm timing idealTree:node_modules/has-unicode Completed in 0ms
npm timing idealTree:node_modules/object-assign Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 2ms (cache hit)
npm timing idealTree:node_modules/pump Completed in 3ms
npm timing idealTree:node_modules/end-of-stream Completed in 0ms
npm timing idealTree:node_modules/once Completed in 0ms
npm timing idealTree:node_modules/rc Completed in 1ms
npm timing idealTree:node_modules/deep-extend Completed in 0ms
npm timing idealTree:node_modules/ini Completed in 0ms
npm timing idealTree:node_modules/readable-stream Completed in 2ms
npm timing idealTree:node_modules/core-util-is Completed in 0ms
npm timing idealTree:node_modules/inherits Completed in 0ms
npm timing idealTree:node_modules/isarray Completed in 0ms
npm timing idealTree:node_modules/process-nextick-args Completed in 0ms
npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/yallist 9ms (cache hit)
npm timing idealTree:node_modules/semver Completed in 10ms
npm timing idealTree:node_modules/lru-cache Completed in 1ms
npm timing idealTree:node_modules/set-blocking Completed in 0ms
npm timing idealTree:node_modules/signal-exit Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 2ms (cache hit)
npm timing idealTree:node_modules/simple-get Completed in 4ms
npm timing idealTree:node_modules/decompress-response Completed in 1ms
npm timing idealTree:node_modules/mimic-response Completed in 0ms
npm timing idealTree:node_modules/simple-concat Completed in 0ms
npm timing idealTree:node_modules/simple-swizzle Completed in 0ms
npm timing idealTree:node_modules/is-arrayish Completed in 0ms
npm timing idealTree:node_modules/string_decoder Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/number-is-nan 2ms (cache hit)
npm timing idealTree:node_modules/string-width Completed in 6ms
npm timing idealTree:node_modules/code-point-at Completed in 0ms
npm timing idealTree:node_modules/is-fullwidth-code-point Completed in 0ms
npm timing idealTree:node_modules/number-is-nan Completed in 0ms
npm timing idealTree:node_modules/strip-ansi Completed in 0ms
npm timing idealTree:node_modules/ansi-regex Completed in 0ms
npm timing idealTree:node_modules/strip-json-comments Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 4ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/bl 6ms (cache hit)
npm timing idealTree:node_modules/tar-fs Completed in 7ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/buffer 3ms (cache hit)
npm timing idealTree:node_modules/tar-stream Completed in 6ms
npm http fetch GET 200 https://registry.npmjs.org/ieee754 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/base64-js 2ms (cache hit)
npm timing idealTree:node_modules/bl Completed in 3ms
npm timing idealTree:node_modules/buffer Completed in 1ms
npm timing idealTree:node_modules/base64-js Completed in 0ms
npm timing idealTree:node_modules/fs-constants Completed in 0ms
npm timing idealTree:node_modules/ieee754 Completed in 0ms
npm timing idealTree:node_modules/tunnel-agent Completed in 0ms
npm timing idealTree:node_modules/util-deprecate Completed in 0ms
npm timing idealTree:node_modules/wide-align Completed in 0ms
npm timing idealTree:node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/bl/node_modules/readable-stream Completed in 0ms
npm timing idealTree:node_modules/tar-stream/node_modules/readable-stream Completed in 0ms
npm timing idealTree:buildDeps Completed in 155ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 164ms
npm timing reify:loadTrees Completed in 164ms
npm timing reify:diffTrees Completed in 1ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 3ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/number-is-nan Completed in 69ms
npm timing reifyNode:node_modules/ansi-regex Completed in 69ms
npm timing reifyNode:node_modules/chownr Completed in 70ms
npm timing reifyNode:node_modules/code-point-at Completed in 70ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 70ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 70ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 70ms
npm timing reifyNode:node_modules/ini Completed in 70ms
npm timing reifyNode:node_modules/wrappy Completed in 69ms
npm timing reifyNode:node_modules/string-width Completed in 70ms
npm timing reifyNode:node_modules/wide-align Completed in 70ms
npm timing reifyNode:node_modules/once Completed in 70ms
npm timing reifyNode:node_modules/has-unicode Completed in 70ms
npm timing reifyNode:node_modules/object-assign Completed in 70ms
npm timing reifyNode:node_modules/aproba Completed in 70ms
npm timing reifyNode:node_modules/end-of-stream Completed in 70ms
npm timing reifyNode:node_modules/strip-ansi Completed in 70ms
npm timing reifyNode:node_modules/color-name Completed in 70ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 71ms
npm timing reifyNode:node_modules/color-string Completed in 71ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 71ms
npm timing reifyNode:node_modules/ieee754 Completed in 73ms
npm timing reifyNode:node_modules/fs-constants Completed in 73ms
npm timing reifyNode:node_modules/mimic-response Completed in 73ms
npm timing reifyNode:node_modules/decompress-response Completed in 73ms
npm timing reifyNode:node_modules/inherits Completed in 73ms
npm timing reifyNode:node_modules/core-util-is Completed in 73ms
npm timing reifyNode:node_modules/signal-exit Completed in 72ms
npm timing reifyNode:node_modules/lru-cache Completed in 74ms
npm timing reifyNode:node_modules/console-control-strings Completed in 73ms
npm timing reifyNode:node_modules/set-blocking Completed in 73ms
npm timing reifyNode:node_modules/color Completed in 74ms
npm timing reifyNode:node_modules/base64-js Completed in 75ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 74ms
npm timing reifyNode:node_modules/util-deprecate Completed in 75ms
npm timing reifyNode:node_modules/yallist Completed in 76ms
npm timing reifyNode:node_modules/expand-template Completed in 75ms
npm timing reifyNode:node_modules/simple-concat Completed in 78ms
npm timing reifyNode:node_modules/safe-buffer Completed in 78ms
npm timing reifyNode:node_modules/deep-extend Completed in 77ms
npm timing reifyNode:node_modules/string_decoder Completed in 78ms
npm timing reifyNode:node_modules/pump Completed in 77ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 77ms
npm timing reifyNode:node_modules/npmlog Completed in 77ms
npm timing reifyNode:node_modules/is-arrayish Completed in 79ms
npm timing reifyNode:node_modules/isarray Completed in 79ms
npm timing reifyNode:node_modules/delegates Completed in 78ms
npm timing reifyNode:node_modules/color-convert Completed in 78ms
npm timing reifyNode:node_modules/detect-libc Completed in 79ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 79ms
npm timing reifyNode:node_modules/tar-stream Completed in 80ms
npm timing reifyNode:node_modules/simple-get Completed in 80ms
npm timing reifyNode:node_modules/buffer Completed in 81ms
npm timing reifyNode:node_modules/github-from-package Completed in 81ms
npm timing reifyNode:node_modules/rc Completed in 81ms
npm timing reifyNode:node_modules/bl Completed in 82ms
npm timing reifyNode:node_modules/prebuild-install Completed in 82ms
npm timing reifyNode:node_modules/node-abi Completed in 82ms
npm timing reifyNode:node_modules/gauge Completed in 83ms
npm timing reifyNode:node_modules/minimist Completed in 84ms
npm timing reifyNode:node_modules/readable-stream Completed in 88ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 90ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 91ms
npm timing reifyNode:node_modules/tar-fs Completed in 91ms
npm timing reifyNode:node_modules/node-addon-api Completed in 91ms
npm timing reifyNode:node_modules/semver Completed in 96ms
npm timing reifyNode:node_modules/sharp Completed in 99ms
npm timing reify:unpack Completed in 100ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 1ms
npm timing build:link:node_modules/rc Completed in 1ms
npm timing build:link:node_modules/semver Completed in 1ms
npm timing build:link:node_modules/prebuild-install Completed in 1ms
npm timing build:link Completed in 1ms
npm info run<EMAIL_ADDRESS>install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

><EMAIL_ADDRESS>install
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Downloading https://registry.npmmirror.com/-/binary/sharp-libvips/libvips-8.12.2-darwin-arm64v8.tar.br node install/dll-copy && pr
sharp: Installation error: Prebuilt libvips 8.12.2 binaries are not yet available for darwin-arm64v8ibvips && node install/dll-copy && pr
sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 1812ms
npm timing auditReport:getReport Completed in 1815ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 1815ms
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 44ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 2211ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (/Users/cwr/.nvm/versions/node/v16.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:390:28)
npm verb stack     at maybeClose (node:internal/child_process:1064:16)
npm verb stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /Users/cwr/ones/compare-pictures
npm verb Darwin 21.4.0
npm verb argv "/Users/cwr/.nvm/versions/node/v16.13.1/bin/node" "/Users/cwr/.nvm/versions/node/v16.13.1/bin/npm" "install" "--verbose" "--foreground-scripts" "sharp"
npm verb node v16.13.1
npm verb npm  v8.3.0
npm ERR! code 1
npm ERR! path /Users/cwr/ones/compare-pictures/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm verb exit 1
npm timing npm Completed in 2344ms
npm verb unfinished npm timer reify<PHONE_NUMBER>294
npm verb unfinished npm timer reify:build<PHONE_NUMBER>573
npm verb unfinished npm timer build<PHONE_NUMBER>574
npm verb unfinished npm timer build:deps<PHONE_NUMBER>574
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>576
npm verb unfinished npm timer build:run:install:node_modules/sharp<PHONE_NUMBER>576
npm verb code 1

npm ERR!      /Users/cwr/.npm/_logs/2022-04-29T10_28_03_162Z-debug-0.log

I tried using the documented URLs in https://sharp.pixelplumbing.com/install#chinese-mirror and it works for me locally, so perhaps npmmirror or the Alibaba Cloud CDN are currently having problems? Perhaps you're hitting a misconfigured CDN node that is missing the source content?

The file can be downloaded from , I feel that the problem is that the file was installed to my computer in error.
In what way can I show you more details of what went wrong

I tried using the documented URLs in https://sharp.pixelplumbing.com/install#chinese-mirror and it works for me locally, so perhaps npmmirror or the Alibaba Cloud CDN are currently having problems? Perhaps you're hitting a misconfigured CDN node that is missing the source content?

Sorry, there should be a problem with my source configuration. My colleague can install it successfully.
I copied the libvips he downloaded and installed it successfully.


Add Linux Installation Information

This closes #19
Just adding some information on the README

I'm afraid I'm quite skeptical on providing the links to a private repository that I don't trust or control. The official way to install the binary is to download it from https://github.com/kayrus/gof5 releases page.
I'v very sorry, I can publish a link only if there is an official arch repo. Let me know if you have complains or just close the PR.

While I don't agree with your point of view, since the Arch Linux usually review The PKGBUILD (AUR package managers are build this way), and I the method I use its just download the one binary from the releases page.
I respect your decision and I understand your concerns, you can close this Pull Request if you like.
Thank you for the software!
Regards,
Alfredo Palhares

@alfredopalhares quite realistic scenario is to make a https://github.com/kayruz/gof5 fork with malicious code (remember, gof5 requires sudo), hack your aur account and substitute the repo URL. This can be also true with github, but github has 2FA. This scenario is less probable, but when you have two minor security issues, they combine and can lead to a high risk issue. Therefore it is better to avoid official packages, besides gof5 is still in beta state.


Implement Docusauros for the docs

I was reading the docs but the experience is not the best, I was thinking that maybe we could host the docs live, something like Docusaurus which may improve that experience, or any other similar solution.
If this is something worth working on I'm happy to try it as my first contribution to the project.

I'm definitely planning on making a docs site eventually. It'll be completely custom. I've used docusaurus before and it won't quite do what I envision for the docs. Thanks though!


Fixing bug with business calculator

I'm not sure how the version I wrote ever worked. :confused:
This isn't quite ideal though. The "featureless" networks are only needed to calculate the "flexibility" measures; the aim of the original version was to only calculate the featureless networks when they're actually used. If there are no flexibility measures, the extra calculation never gets done.
This PR changes it so that the featureless network is always calculated.
Here's what I'd suggest:

Change Market::Variant so that the object method is public.

Change the BusinessCaseCalculator to have something like:
 # Lazily computes the featureless networks only when required.
 featureless = Market::Variant.new do
   @testing_ground.to_calculated_graphs
 end

 electricity = Market::Variant.new do
   featureless.object.detect { |net| net.carrier == :electricity }
 end

 gas = Market::Variant.new do
   featureless.object.detect { |net| net.carrier == :gas }
 end

This PR changes it so that the featureless network is always calculated.

Yes. That was not supersmart...
I fixed it as described in your suggestion.

Perfect, thanks!


Chart price values to be checked against blocksync price api

I believe the chart price values are matched to data from blocksync api

@elite0226 please confirm and I can close the ticket

Yes. I don't see any problem for about this.

The chart does not show the values returned from BlockSync for Bond DID = did:ixo:Ft4NbxcsXyBGczyQpS39Mf.

https://blocksync-pandora.ixo.world/api/bonds/getPriceHistoryByBondDid/did:ixo:Ft4NbxcsXyBGczyQpS39Mf response:
{
"_id": "6141c2b0b00631001af0e2d4",
"priceHistory":
[
{
"price": "1000.000000000000000000",
"time": "2021-09-15T09:53:51.969Z"
},
{
"price": "2999.999999999999978793",
"time": "2022-04-29T10:35:21.287Z"
}
]
}

Perhaps the axes is not the correct precision?

@alwyn-ixo I see what's wrong here.
The prices are being calculated to division of 1 million.
So price in Blocksync: 1000.000 represents price in UI: 0.001
price in Blocksync: 2999.999 represents price in UI: 0.0029999
0.001 and 0.002999 are quite small and that's why the chart is looking like for this bonddid.

@elite0226 I think we really want to show these prices on the chart, so can you please change the division to fall in your y-axis range?
For example, 2,999.999 / 1,000, instead of 2,999.999 / 1,000,000.

/projects/did:ixo:KoCgGNSAirEeS8TaLXxUEm/bonds/did:ixo:Ft4NbxcsXyBGczyQpS39Mf/detail/overview


Design review of Method form/ reader

@ascott do you need me to review anything for this?

@jesicarson this is ready for your review on staging


Simplify _to_tensor(), reduce graph ops.

Maybe _to_tensor() should be renamed and exposed (made public) as K.convert_to_tensor(), with API changed to match (will be backward compatible)?

@fchollet, should _to_tensor() be renamed and exposed (made public) as K.convert_to_tensor()? On one hand, it seems useful. On the other hand, it would return tf.Tensor, not a Keras variable, and I am not sure what to do about it, if anything, in other backends.


ETCD not starting - Invalid escape sequences

Hi All,
Im trying to start a k8s cluster using kube-aws, but i cant get etcd to start up. all I see in journalctl is:
Invalid escape sequences in line, correcting: "/usr/bin/bash -c "sed -i \"s/^ETCDCTL_ENDPOINT.*$/ETCDCTL_ENDPOINT=https:\/\/$(hostname):2379/\" /etc/environment""
kubernetes: v1.4.6
kube-aws: v0.9.3-rc.5
ip-10-50-3-4 system # systemctl status etcd2 --no-pager -l
● etcd2.service - etcd2
   Loaded: loaded (/usr/lib/systemd/system/etcd2.service; enabled; vendor preset: disabled)
  Drop-In: /run/systemd/system/etcd2.service.d
           └─10-oem.conf
        /etc/systemd/system/etcd2.service.d
           └─20-etcd2-aws-cluster.conf
   Active: inactive (dead)

Jan 18 22:24:59 ip-10-50-3-4.ec2.internal systemd[1]: [/etc/systemd/system/etcd2.service.d/20-etcd2-aws-cluster.conf:25] Invalid escape sequences in line, correcting: "/usr/bin/bash -c "sed -i \"s/^ETCDCTL_ENDPOINT.*$/ETCDCTL_ENDPOINT=https:\/\/$(hostname):2379/\" /etc/environment""
Jan 18 22:26:29 ip-10-50-3-4.ec2.internal systemd[1]: Dependency failed for etcd2.
Jan 18 22:26:29 ip-10-50-3-4.ec2.internal systemd[1]: etcd2.service: Job etcd2.service/start failed with result 'dependency'.
Jan 19 02:03:50 ip-10-50-3-4.ec2.internal systemd[1]: Dependency failed for etcd2.
Jan 19 02:03:50 ip-10-50-3-4.ec2.internal systemd[1]: etcd2.service: Job etcd2.service/start failed with result 'dependency'.

this error indicates that something wrong with etcd2 dependency, try running
systemctl list-dependencies etcd2 and check them

Thanks, data drive was not mounting properly


Replaced AdminThemes with AdminThemesCatalog

See http://forge.prestashop.com/browse/BOOM-1121

Tested and ok, thanks !

Thank you!


ui: fix highlight list

When enabling k8s filters ui.k8s_enabled=true the filters drop-down was working as expected (i.e. you select k8s all from the list and  in the textbox you get the respective gremlin query), but when doing the same with the highlight drop-down the label k8s all was present in the highlight text box while the value in the filters textbox would change and display the gremlin representation (of what was selected via the highlight drop-down).
this PR fixes the bug

run skydive-functional-tests-backend-elasticsearch

run skydive-k8s-tests

run skydive-k8s-tests

@lebauce - I am seeing many failures due to - I don't have time to address currently - but will open an issue and handle when I have the time
--2018-12-12 08:14:41--  (try: 2)  https://github-production-release-asset-2e65be.s3.amazonaws.com/56353740/6077390a-8e58-11e8-80de-05aee30d20e4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181212T070552Z&X-Amz-Expires=300&X-Amz-Signature=9ed30a1ba24a4f0c9e6197ad8818d300d9e3040a963bf351b0d0625b17ad219a&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dminikube-linux-amd64&response-content-type=application%2Foctet-stream
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-12-12 08:14:42 ERROR 403: Forbidden.

run skydive-k8s-tests


[@genType] with None produces output that Flow can't type check

I was trying to expose Some and None to JS code. Some works great, but I found this output with None:
Input (.re):
[@genType]
let none = None;

Output (.re.js):
export const none: ?T1 = OptionBS.none;

Then Flow fails to type check in any case as there's no way to define T1. I know this case is tricky from a type perspective as there is no output info about the result. But maybe this should be reflected in the output somehow? Maybe not producing anything and showing an explanatory comment, or exposing the value as function:
const none = <T1>(a: T1): ?T1 => OptionBS.none;

to be able to fill the type param.

@jchavarri can you expand a bit on what you wanted to do when you encountered this: why did you want to expose None?.
As you've seen, there's no type one can give it which corresponds to the Reason polymorphic type, as that's only possible for function types. (Forcing None into a function is problematic, as you need to supply a value for that function exactly when you don't have none).
On the JS side, you can always use undefined (and most times null to, when it's allowed and the type checker lets it through) for None. In fact, in Js you don't need to know of the existence of option types, and work with the types that genType gives you.

Sure! I was exploring how to expose some Belt modules to JavaScript files, and I started with Belt.Option. So exposing functions like flatMap and map worked perfect, but then I was thinking about creating values from JS and how to expose Some and None.
Maybe what I'm trying doesn't make sense.... but I can think of other cases of variant types that have a type variable as input and one of the constructors doesn't use it.

Another case, if it helps somehow:
[@genType]
let empty = Belt.Map.String.empty;

generates
export const empty: Belt_Map_String_t<T1> = MapStringBS.empty;

Which has T1 that Flow fails to resolve.

Ah, I just realize that I can expose these values through a function and then it's fine. :)
[@genType]
let empty = () => Belt.Map.String.empty;

export const empty: <T1>(void) => Belt_Map_String_t<T1> = MapStringBS.empty;

Yes, that's the way to go.
Would you add a sentence in the README to document this?


V0.4 Add API Method to Model

Coverage increased (+0.04%) to 80.673% when pulling c45bb37517598e2f2cbdfa4fe93eb27f3a1df95e on V0.4_model_implementation into f766d2a7edb155f637e7d44e6933d7914c7b72cf on V0.4.

I'm merging to make the changes and see if it works


fix(nav): only apply focus styles to nav simple list when hovered over it

closes #2463
@mcoker @mattnolting should I be applying this change over all the nav list items that we apply focus styles to?

PatternFly-Next preview: https://patternfly-next-pr-2508.surge.sh


Generate the rendered image from perspective point of view

Hi,
Firstly, thanks for the amazing library!
I want to extract the rendered image from perspective point of view given the mesh (already transformed from the world coordinate to the camera coordinate) and camera intrinsic parameters (fx, fy, cx, cy). In addition, it would be better to generate the depth map together.
After digging into the source code, I find that
render(core::Mesh mesh, glm::tmat4x4<float> model_view_matrix, glm::tmat4x4<float> projection_matrix,
       int viewport_width, int viewport_height, const cpp17::optional<Texture>& texture = cpp17::nullopt,
       bool enable_backface_culling = false, bool enable_near_clipping = true,
       bool enable_far_clipping = true)

in render.hpp or
eos::core::Image4u extract_texture(const core::Mesh& mesh, glm::mat4x4 view_model_matrix, glm::mat4x4 projection_matrix,
                        glm::vec4 /*viewport, not needed at the moment */, const eos::core::Image4u& image,
                        bool /* compute_view_angle, unused atm */, int isomap_resolution = 512)

in texture_extraction.hpp might be the solution. But I am not so sure about the completion of these two functions.
Excuse me, is there any suggestions of how to achieve the perspective rendering and perspective depth map generation?
Looking forward to your reply, thank you very much.

Hi,
Thanks for the very nice words.
eos estimates an orthographic camera, which you can't "convert" to a perspective camera. However you can take an estimated mesh, and render it with any model-view and projection matrix. The projection matrix can be orthographic or perspective - the renderer in eos should follow the OpenGL convention pretty closely.
You can for example construct a matrix with glm::perspective(...) and pass that to eos::render::render(...) as projection_matrix. You can also have a look at these lines in patrikhuber/4dface - the code is a bit dated and uses an older version of eos (please don't use that!), but you can see there how to render a fitted mesh in a different pose.
Perhaps you may also want to look into fit-model-ceres and write your own cost function, given your camera setup/parameters? You could take the existing code as an example.
Hope that helps.

Hi,
Thank you very much, that really helps. :)
Sincerely,


findfont: Font family ['Helvetica'] not found. Falling back to DejaVu Sans.

Hi, I get this issue when I load the example script
findfont: Font family ['Helvetica'] not found. Falling back to DejaVu Sans.
findfont: Font family ['Helvetica'] not found. Falling back to DejaVu Sans.
findfont: Font family ['Helvetica'] not found. Falling back to DejaVu Sans.
D:\ProgramData\Anaconda3\lib\site-packages\bar_chart_race_make_chart.py:286: UserWarning: FixedFormatter should only be used together with FixedLocator
ax.set_yticklabels(self.df_values.columns)
D:\ProgramData\Anaconda3\lib\site-packages\bar_chart_race_make_chart.py:287: UserWarning: FixedFormatter should only be used together with FixedLocator
ax.set_xticklabels([max_val] * len(ax.get_xticks()))
I'm using python 3.8.5 and matplotlib 3.3.1

I also get the same error but it doesn't seem to effect anything

I also get the same error but it doesn't seem to effect anything

yep, the I fixed the FixedFormatter bug  downgrading matplotlib to 3.2.2 version


added config-server system architecture

Added system architecture for the config-server.
Release Notes: none

@henderiw I've introduced some changes on top of your PR. See: https://github.com/sdcio/docs/pull/33/commits/39d6fe2be867410b17f35ded49d37ff3c16f4624 if thats alright, we can merge I think.

ok sounds good


Format csprojs

Formatting csproj to be consistent. Now all have newlines between all elements that are directly in the root element.  I did this for all sdk format csprojs and ignored all old csprojs.
There are quite a few old csprojs. I think projects that hang on to the old format have no future and we should remove all those at some point.

In general I think we should work towards a situation where we understand everything in the csprojs. In the past the csprojs just grew more complex because we had to get things to compile and did not look at them because everything was autogenerated. With the new csproj we should regularly clean them up. If elements have no use anymore they should be removed, or perhaps simplified.


image-rendering: auto image-rendering: crisp-edges image-rendering: pixelated image-rendering: inher...

image-rendering: auto
image-rendering: crisp-edges
image-rendering: pixelated
image-rendering: inherit
https://developer.mozilla.org/en/docs/Web/CSS/image-rendering
Pixel artists everywhere will be delighted.

This issue was imported from Google Moderator
Moderator votes: +6
Issue added by S Davis on 2014-05-02
To vote this issue up or down, simply include +1 or -1 in your comment.

Covered by http://caniuse.com/#feat=css-crisp-edges

WebKit Nightly support image-rendering: pixelated

Bugs: https://bugs.webkit.org/show_bug.cgi?id=146771
Demo: https://css-tricks.com/almanac/properties/i/image-rendering/


What is <PACKAGE_SOURCE>??

What does <PACKAGE_SOURCE> indicate???

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f386bad4-494d-fcd3-b3f3-44a33601e866
Version Independent ID: c1fe07ab-8092-26b7-f3f0-a3fce718da51
Content: Connect to a feed and publish NuGet packages - NuGet.exe - Azure Artifacts
Content Source: docs/artifacts/nuget/publish.md
Service: azure-devops-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@craiggeil -- Craig, thank you for your question.  I agree the surrounding prose could make that clearer.  I am investigating.

@craiggeil It's the name of the source. And then in the second command, you'll be using the name of the source that you added to your config file to push your package. See nuget sources for more details. Thanks for your feedback, I'm fixing the article shortly.


Web Worker support

I just tested 6to5 browser.js in a web worker, and it seems there is an error with cannot read property prototype of undefined.

Do you have a stacktrace handy?

Unfortunately the stack trace was crashing my inspector for some reason, it may help to test against unminified source though.

Looks like it's due to lodash using either window or this when it should also be looking for self. I've commented here for assistance.

Thanks so much for tracking this down. I see lodash 3 has just been released.

Should be fixed by #595, thanks!


feat: boostrap compatibility tests

Description
boostrap compatibility tests.
Currently run a couple of transfer tests using the latest tx stable 0.7.7 and the main branch (snapshot).
The setup is inspired by https://github.com/eclipse-edc/CompatibilityTests
Ref: https://github.com/eclipse-tractusx/sig-release/issues/908
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files

i think the license headers should be company-specific

I got the license header from
https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-02/#copyright-header


failing to close this iterator causes leaks in rocksdb

@guozhangwang @dguy

LGTM - thanks @norwood

Thanks @norwood !

LGTM. Merged to trunk and 0.10.1.


fim tokens not always embedded in prompt + top_p

Observation
I noticed that the vs code request uses top_p set to 0.95, but the default curl command to the latest inference server defaults that value to None.  This seems to have a negative effect on the performance of the starcoder model.
Similarly, I noticed that the fim start/middle/suffix tokens are not always included in the prompt.
Possible Solutions

Always use fim tokens
Change the default value of top_p to null or at least expose it as a parameter
Enable more options in the extensions, specifically,

stop tokens -- it's nice to add \n as a stop token so you only generate a single line
max_new_tokens -- set to line width / 120-ish

Single line completions feel a bit better, which could be accomplished using a single \n stop token.  If we could have use multi-tab or a new hot key, then multi-line would feel better.  That is, use tab to complete the current line; multiple tabs will subsequently complete another line of the suggested auto-complete, and finally a special hot key to accept the full multi-line suggestion.
Details
In VS Code if I have a simple python file

    def test():
        x=1+1
        assert x ==

I'm seeing the following request on the server; note: the fim tokens are not included:
2023-05-10T22:34:38.711415Z  INFO HTTP request{otel.name=POST /generate http.client_ip= http.flavor=1.1 http.host=a100:8080 http.method=POST http.route=/generate http.scheme=HTTP http.target=/generate http.user_agent=node-fetch otel.kind=server trace_id=44d3a824707eb2d84d040afb9fa8ac59}:generate{req=Json(GenerateRequest { inputs: "\n    def test():\n        x=1+1\n        assert x == ", parameters: GenerateParameters { best_of: None, temperature: None, repetition_penalty: None, top_k: None, top_p: Some(0.95), typical_p: None, do_sample: false, max_new_tokens: 60, return_full_text: None, stop: ["<|endoftext|>"], truncate: None, watermark: false, details: false, seed: None } }) total_time="33.124231ms" validation_time="438.753µs" queue_time="80.04µs" inference_time="32.605648ms" time_per_token="32.605648ms" seed="Some(9473460394149812587)"}: text_generation_router::server: router/src/server.rs:285: Output:

The corresponding output on the console is:
INPUT to API: (with parameters {"max_new_tokens":60,"temperature":null,"do_sample":false,"top_p":0.95,"stop":["<|endoftext|>"]})

    def test():
        x=1+1
        assert x ==
OUTPUT from API:

The output is a \n.
Now if I make the call to the server using curl with the fim tokens in place (note, i'm adding an extra stop token):
deepops@a100:~$ time curl <IP_ADDRESS>:8080/generate     -X POST     -d '{"inputs":"<fim_prefix>\n    def test():\n        x=1+1\n        assert x == <fim_middle><fim_suffix>","parameters":{"max_new_tokens":60,"stop":["<|endoftext|>","\n"]}}'
-H 'Content-Type: application/json'
{"generated_text":"  def test():\n        x=1+1\n        assert x == 2\n"}

I see the corresponding server-side output:
2023-05-10T22:12:14.591559Z  INFO HTTP request{otel.name=POST /generate http.client_ip= http.flavor=1.1 http.host=<IP_ADDRESS>:8080 http.method=POST http.route=/generate http.scheme=HTTP http.target=/generate http.user_agent=curl/7.68.0 otel.kind=server trace_id=9b28be13203a06e56e54cfea2cf21d21}:generate{req=Json(GenerateRequest { inputs: "<fim_prefix>\n    def test():\n        x=1+1\n        assert x == <fim_middle><fim_suffix>", parameters: GenerateParameters { best_of: None, temperature: None, repetition_penalty: None, top_k: None, top_p: None, typical_p: None, do_sample: false, max_new_tokens: 60, return_full_text: None, stop: ["<|endoftext|>", "\n"], truncate: None, watermark: false, details: false, seed: None } }) total_time="448.996747ms" validation_time="353.56µs" queue_time="66.814µs" inference_time="448.576563ms" time_per_token="26.386856ms" seed="None"}: text_generation_router::server: router/src/server.rs:285: Output:   def test():
        x=1+1
        assert x == 2

Note: top_p: 0.95 when issued via curl, which is the default setting of the latest version of the text-generation-inference server
deepops@a100:~$ time curl <IP_ADDRESS>:8080/generate     -X POST     -d '{"inputs":"\n    def test():\n        x=1+1\n        assert x == ","parameters":{"max_new_tokens":60,"stop":["<|endoftext|>"],"top_p":0.95}}'     -H 'Content-Type: applicatio
n/json'
{"generated_text":""}

server-side:
2023-05-10T22:37:01.085903Z  INFO HTTP request{otel.name=POST /generate http.client_ip= http.flavor=1.1 http.host=<IP_ADDRESS>:8080 http.method=POST http.route=/generate http.scheme=HTTP http.target=/generate http.user_agent=curl/7.68.0 otel.kind=server trace_id=b72534db620649bd7c296957040cb18c}:generate{req=Json(GenerateRequest { inputs: "\n    def test():\n        x=1+1\n        assert x == ", parameters: GenerateParameters { best_of: None, temperature: None, repetition_penalty: None, top_k: None, top_p: Some(0.95), typical_p: None, do_sample: false, max_new_tokens: 60, return_full_text: None, stop: ["<|endoftext|>"], truncate: None, watermark: false, details: false, seed: None } }) total_time="32.852386ms" validation_time="332.854µs" queue_time="60.754µs" inference_time="32.458948ms" time_per_token="32.458948ms" seed="Some(14293755121722667098)"}: text_generation_router::server: router/src/server.rs:285: Output:

One more comment regarding auto complete.
In the previous comment I suggested that single line auto completes feel right. I will extend that to say that the auto complete suggestion should be for the natural scope of the suggestion.
So if the suggestion was for a for loop, it makes sense to suggest the entire for loop.
What I found odd about the behavior of the combination of extension + backend model is that it would often (in my limited tests) complete the current line correctly but then go on to the next line and start a new class. I found that I often had to delete the tail of the auto complete.
Not sure if you do that in the trained model or if you use language semantics and place your fim tokens to denote scope boundaries.

top_p andfim issues are fixed in the new upcoming 0.0.39.
As for the repetition you're observing, I think postprocessing is the way to go. There is a lot of work to do on making suggestions more useful. We're working on it, please keep the feedback coming as the extensions evolve!