Installation issue on MacOS behind a proxy

Possible install-time or require-time problem
I'm trying to install sharp on MacOS behind a proxy by downloading sharp and libvips binaries locally and using npm sharp_local_prebuilds environment variable.
I tried with the three following configuration in my .npmrc file with the same result :
sharp_local_prebuilds=/Users/helier_e/Dev/tools/libvips/
sharp_local_prebuilds=/Users/helier_e/Dev/tools/libvips/libvips-8.12.2-darwin-x64.tar.br
sharp_local_prebuilds=/Users/helier_e/Dev/tools/libvips/sharp-v0.30.3-napi-v5-darwin-x64.tar.gz

[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.

Is this a problem with filesystem permissions?
If you are using npm v7 or later, does the user running npm install own the directory it is run in? YES
What is the complete output of running npm install --verbose sharp?

npm verb cli [
npm verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node',
npm verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
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/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/Users/helier_e/Dev/tests/gatsby/sharp-install/.npmrc Completed in 2ms
npm timing config:load:project Completed in 3ms
npm timing config:load:file:/Users/helier_e/.npmrc Completed in 0ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:/Users/helier_e/.nvm/versions/node/v16.14.0/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 10ms
npm timing npm:load:configload Completed in 10ms
npm timing npm:load:setTitle Completed in 13ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:display Completed in 5ms
npm verb logfile /Users/helier_e/.npm/_logs/2022-03-29T06_35_44_862Z-debug-0.log
npm timing npm:load:logFile Completed in 4ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 33ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 8ms
npm timing idealTree:userRequests Completed in 1ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/sharp 252ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/prebuild-install 147ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/tar-fs 175ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/tunnel-agent 189ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/node-addon-api 206ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/detect-libc 211ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/semver 217ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color 224ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/simple-get 224ms (cache revalidated)
npm timing idealTree:#root Completed in 496ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/github-from-package 91ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color-convert 96ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/pump 95ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/mkdirp-classic 97ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/decompress-response 96ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/npmlog 101ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/lru-cache 103ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/node-abi 107ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/napi-build-utils 163ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/chownr 160ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/tar-stream 172ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/once 182ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/rc 185ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/safe-buffer 192ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/expand-template 205ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color-string 210ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/minimist 210ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/simple-concat 1201ms (cache revalidated)
npm timing idealTree:node_modules/sharp Completed in 1223ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/simple-swizzle 72ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color-name 74ms (cache revalidated)
npm timing idealTree:node_modules/color Completed in 79ms
npm timing idealTree:node_modules/color-convert Completed in 2ms
npm timing idealTree:node_modules/color-name Completed in 0ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/is-arrayish 84ms (cache revalidated)
npm timing idealTree:node_modules/color-string Completed in 87ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/are-we-there-yet 78ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/console-control-strings 79ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/deep-extend 81ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/end-of-stream 82ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/ini 84ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/gauge 93ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/strip-json-comments 95ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/set-blocking 146ms (cache revalidated)
npm timing idealTree:node_modules/prebuild-install Completed in 160ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/aproba 84ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/wide-align 83ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/delegates 89ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/has-unicode 92ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/signal-exit 91ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/strip-ansi 91ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/string-width 99ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/readable-stream 105ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/object-assign 272ms (cache revalidated)
npm timing idealTree:node_modules/npmlog Completed in 280ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/core-util-is 85ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/string_decoder 83ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/isarray 85ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/util-deprecate 84ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/process-nextick-args 89ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/inherits 90ms (cache revalidated)
npm timing idealTree:node_modules/are-we-there-yet Completed in 94ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/is-fullwidth-code-point 70ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/code-point-at 84ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/ansi-regex 99ms (cache revalidated)
npm timing idealTree:node_modules/gauge Completed in 108ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/wrappy 89ms (cache revalidated)
npm timing idealTree:node_modules/pump Completed in 94ms
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 4ms
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 6ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/yallist 65ms (cache revalidated)
npm timing idealTree:node_modules/semver Completed in 68ms
npm timing idealTree:node_modules/lru-cache Completed in 2ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/mimic-response 78ms (cache revalidated)
npm timing idealTree:node_modules/simple-get Completed in 81ms
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 2ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/number-is-nan 71ms (cache revalidated)
npm timing idealTree:node_modules/string-width Completed in 75ms
npm timing idealTree:node_modules/code-point-at Completed in 0ms
npm timing idealTree:node_modules/is-fullwidth-code-point Completed in 2ms
npm timing idealTree:node_modules/number-is-nan Completed in 0ms
npm timing idealTree:node_modules/strip-ansi Completed in 2ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/fs-constants 64ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/bl 199ms (cache revalidated)
npm timing idealTree:node_modules/tar-fs Completed in 203ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/buffer 75ms (cache revalidated)
npm timing idealTree:node_modules/tar-stream Completed in 82ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/base64-js 78ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/ieee754 78ms (cache revalidated)
npm timing idealTree:node_modules/bl Completed in 82ms
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 3245ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 3259ms
npm timing reify:loadTrees Completed in 3259ms
npm timing reify:diffTrees Completed in 1ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 9ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch POST 404 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/-/npm/v1/security/advisories/bulk 92ms
npm timing reifyNode:node_modules/ansi-regex Completed in 128ms
npm timing reifyNode:node_modules/chownr Completed in 129ms
npm timing reifyNode:node_modules/number-is-nan Completed in 129ms
npm timing reifyNode:node_modules/code-point-at Completed in 129ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 129ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 130ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 130ms
npm timing reifyNode:node_modules/ini Completed in 130ms
npm timing reifyNode:node_modules/wrappy Completed in 130ms
npm timing reifyNode:node_modules/wide-align Completed in 129ms
npm timing reifyNode:node_modules/once Completed in 129ms
npm timing reifyNode:node_modules/string-width Completed in 130ms
npm timing reifyNode:node_modules/strip-ansi Completed in 130ms
npm timing reifyNode:node_modules/end-of-stream Completed in 130ms
npm timing reifyNode:node_modules/has-unicode Completed in 130ms
npm timing reifyNode:node_modules/object-assign Completed in 130ms
npm timing reifyNode:node_modules/aproba Completed in 131ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 132ms
npm timing reifyNode:node_modules/color-string Completed in 131ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 133ms
npm timing reifyNode:node_modules/color-name Completed in 133ms
npm timing reifyNode:node_modules/ieee754 Completed in 136ms
npm timing reifyNode:node_modules/fs-constants Completed in 136ms
npm timing reifyNode:node_modules/decompress-response Completed in 136ms
npm timing reifyNode:node_modules/mimic-response Completed in 136ms
npm timing reifyNode:node_modules/lru-cache Completed in 136ms
npm timing reifyNode:node_modules/inherits Completed in 137ms
npm timing reifyNode:node_modules/core-util-is Completed in 137ms
npm timing reifyNode:node_modules/signal-exit Completed in 136ms
npm timing reifyNode:node_modules/set-blocking Completed in 137ms
npm timing reifyNode:node_modules/console-control-strings Completed in 137ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 137ms
npm timing reifyNode:node_modules/color Completed in 138ms
npm timing reifyNode:node_modules/base64-js Completed in 141ms
npm timing reifyNode:node_modules/yallist Completed in 140ms
npm timing reifyNode:node_modules/util-deprecate Completed in 141ms
npm timing reifyNode:node_modules/expand-template Completed in 140ms
npm timing reifyNode:node_modules/simple-concat Completed in 142ms
npm timing reifyNode:node_modules/deep-extend Completed in 143ms
npm timing reifyNode:node_modules/safe-buffer Completed in 143ms
npm timing reifyNode:node_modules/string_decoder Completed in 143ms
npm timing reifyNode:node_modules/npmlog Completed in 142ms
npm timing reifyNode:node_modules/pump Completed in 143ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 143ms
npm timing reifyNode:node_modules/is-arrayish Completed in 145ms
npm timing reifyNode:node_modules/isarray Completed in 145ms
npm timing reifyNode:node_modules/delegates Completed in 146ms
npm timing reifyNode:node_modules/color-convert Completed in 145ms
npm timing reifyNode:node_modules/detect-libc Completed in 146ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 148ms
npm timing reifyNode:node_modules/tar-stream Completed in 150ms
npm timing reifyNode:node_modules/simple-get Completed in 149ms
npm timing reifyNode:node_modules/buffer Completed in 154ms
npm http fetch POST 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/-/npm/v1/security/audits/quick 57ms
npm timing auditReport:getReport Completed in 159ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 159ms
npm timing reifyNode:node_modules/github-from-package Completed in 155ms
npm timing reifyNode:node_modules/rc Completed in 156ms
npm timing reifyNode:node_modules/bl Completed in 159ms
npm timing reifyNode:node_modules/prebuild-install Completed in 156ms
npm timing reifyNode:node_modules/node-abi Completed in 159ms
npm timing reifyNode:node_modules/gauge Completed in 163ms
npm timing reifyNode:node_modules/minimist Completed in 165ms
npm timing reifyNode:node_modules/readable-stream Completed in 171ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 174ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 175ms
npm timing reifyNode:node_modules/tar-fs Completed in 173ms
npm timing reifyNode:node_modules/node-addon-api Completed in 174ms
npm timing reifyNode:node_modules/semver Completed in 176ms
npm timing reifyNode:node_modules/sharp Completed in 179ms
npm timing reify:unpack Completed in 182ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 2ms
npm timing build:link:node_modules/prebuild-install Completed in 3ms
npm timing build:link:node_modules/rc Completed in 2ms
npm timing build:link:node_modules/semver Completed in 3ms
npm timing build:link Completed in 4ms
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)
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 57ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 7021ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess. (/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:520:28)
npm verb stack     at maybeClose (node:internal/child_process:1092:16)
npm verb stack     at Socket. (node:internal/child_process:451:11)
npm verb stack     at Socket.emit (node:events:520:28)
npm verb stack     at Pipe. (node:net:687:12)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /Users/helier_e/Dev/tests/gatsby/sharp-install
npm verb Darwin 19.6.0
npm verb argv "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node" "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/npm" "install" "--verbose" "sharp"
npm verb node v16.14.0
npm verb npm  v8.3.1
npm ERR! code 1
npm ERR! path /Users/helier_e/Dev/tests/gatsby/sharp-install/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 ERR! sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.12.2/libvips-8.12.2-darwin-x64.tar.br
npm ERR! sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR! sharp: Installation error: self signed certificate in certificate chain
npm verb exit 1
npm timing npm Completed in 7186ms
npm verb unfinished npm timer reify<PHONE_NUMBER>024
npm verb unfinished npm timer reify:build<PHONE_NUMBER>489
npm verb unfinished npm timer build<PHONE_NUMBER>489
npm verb unfinished npm timer build:deps<PHONE_NUMBER>489
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>495
npm verb unfinished npm timer build:run:install:node_modules/sharp<PHONE_NUMBER>495
npm verb code 1
npm ERR!      /Users/helier_e/.npm/_logs/2022-03-29T06_35_44_862Z-debug-0.log

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
  System:
    OS: macOS 10.15.7
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 14.02 GB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman

Hi, as I mentioned in https://github.com/lovell/sharp/issues/3154, sharp_local_prebuilds is used to provide the location for prebuilt sharp binaries rather than libvips binaries.

To install the prebuilt sharp binaries from a directory on the local filesystem, set the sharp_local_prebuilds npm config option or the npm_config_sharp_local_prebuilds environment variable.

You mentioned in https://github.com/lovell/sharp/issues/3154#issuecomment-1080801547 that you had installed libvips via homebrew, but the installation log above does not reflect this. Did you use brew install vips?

Hi, sorry I tried to restart everything from scratch today following closely the instructions.
Yesterday I tried installing libvips via homebrew, you're right, and here is the result of brew install vips command :
Warning: vips 8.12.1 is already installed and up-to-date.
To reinstall 8.12.1, run:
  brew reinstall vips

Also since I created this ticket I've made some progress and instead of using a local binary I think I achieved to get the binaries through our internal Artifactory instance with this .npmrc configuration
SHARP_BINARY_HOST=https://artifactory.2b82.aws.cloud.airbus.corp/ui/native/github-releases/lovell/sharp/releases/download
SHARP_LIBVIPS_BINARY_HOST=https://artifactory.2b82.aws.cloud.airbus.corp/ui/native/github-releases/lovell/sharp-libvips/releases/download

Now I had an issue with node-gyp and xcode command line tools, that I think I resolved using the instructions here : https://github.com/nodejs/node-gyp/blob/master/macOS_Catalina.md#Solutions
Finally here is the new npm install --verbose sharp after all these steps

npm verb cli [
npm verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node',
npm verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/bin/npm',
npm verb cli   'install',
npm verb cli   'sharp',
npm verb cli   '--verbose'
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/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/npmrc Completed in 0ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/Users/helier_e/Dev/tests/gatsby/sharp-install/.npmrc Completed in 3ms
npm timing config:load:project Completed in 4ms
npm timing config:load:file:/Users/helier_e/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/Users/helier_e/.nvm/versions/node/v16.14.0/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 1ms
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 12ms
npm timing npm:load:configload Completed in 12ms
npm timing npm:load:setTitle Completed in 13ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:display Completed in 6ms
npm verb logfile /Users/helier_e/.npm/_logs/2022-03-29T09_52_51_691Z-debug-0.log
npm timing npm:load:logFile Completed in 5ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 36ms
npm timing arborist:ctor Completed in 1ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 11ms
npm timing idealTree:userRequests Completed in 2ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/sharp 1298ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/detect-libc 129ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/node-addon-api 358ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/tunnel-agent 376ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color 412ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/simple-get 413ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/tar-fs 414ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/prebuild-install 418ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/semver 513ms (cache revalidated)
npm timing idealTree:#root Completed in 1830ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color-string 127ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/expand-template 127ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/rc 129ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/decompress-response 161ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/lru-cache 163ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/github-from-package 170ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/npmlog 240ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/simple-concat 240ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/pump 247ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color-convert 288ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/once 284ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/node-abi 302ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/napi-build-utils 329ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/mkdirp-classic 335ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/chownr 515ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/safe-buffer 653ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/minimist 680ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/tar-stream 954ms (cache revalidated)
npm timing idealTree:node_modules/sharp Completed in 979ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/simple-swizzle 106ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/color-name 118ms (cache revalidated)
npm timing idealTree:node_modules/color Completed in 123ms
npm timing idealTree:node_modules/color-convert Completed in 2ms
npm timing idealTree:node_modules/color-name Completed in 0ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/is-arrayish 461ms (cache revalidated)
npm timing idealTree:node_modules/color-string Completed in 463ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/are-we-there-yet 107ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/strip-json-comments 122ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/console-control-strings 130ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/gauge 132ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/deep-extend 221ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/set-blocking 250ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/ini 261ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/end-of-stream 456ms (cache revalidated)
npm timing idealTree:node_modules/prebuild-install Completed in 469ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/has-unicode 125ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/delegates 136ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/wide-align 133ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/aproba 233ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/strip-ansi 250ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/string-width 261ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/readable-stream 270ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/object-assign 277ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/signal-exit 488ms (cache revalidated)
npm timing idealTree:node_modules/npmlog Completed in 496ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/process-nextick-args 251ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/inherits 261ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/core-util-is 263ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/isarray 269ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/string_decoder 270ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/util-deprecate 272ms (cache revalidated)
npm timing idealTree:node_modules/are-we-there-yet Completed in 279ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/is-fullwidth-code-point 146ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/code-point-at 148ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/ansi-regex 155ms (cache revalidated)
npm timing idealTree:node_modules/gauge Completed in 164ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/wrappy 116ms (cache revalidated)
npm timing idealTree:node_modules/pump Completed in 120ms
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 3ms
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 6ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/yallist 119ms (cache revalidated)
npm timing idealTree:node_modules/semver Completed in 122ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/mimic-response 99ms (cache revalidated)
npm timing idealTree:node_modules/simple-get Completed in 102ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/number-is-nan 116ms (cache revalidated)
npm timing idealTree:node_modules/string-width Completed in 120ms
npm timing idealTree:node_modules/code-point-at Completed in 0ms
npm timing idealTree:node_modules/is-fullwidth-code-point Completed in 2ms
npm timing idealTree:node_modules/number-is-nan Completed in 0ms
npm timing idealTree:node_modules/strip-ansi Completed in 2ms
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://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/bl 101ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/fs-constants 218ms (cache revalidated)
npm timing idealTree:node_modules/tar-fs Completed in 223ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/buffer 133ms (cache revalidated)
npm timing idealTree:node_modules/tar-stream Completed in 141ms
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/ieee754 138ms (cache revalidated)
npm http fetch GET 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/base64-js 227ms (cache revalidated)
npm timing idealTree:node_modules/bl Completed in 230ms
npm timing idealTree:node_modules/buffer Completed in 2ms
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 5892ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 5907ms
npm timing reify:loadTrees Completed in 5908ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 8ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/number-is-nan Completed in 122ms
npm timing reifyNode:node_modules/ansi-regex Completed in 123ms
npm timing reifyNode:node_modules/code-point-at Completed in 123ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 123ms
npm http fetch POST 404 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/-/npm/v1/security/advisories/bulk 128ms
npm timing reifyNode:node_modules/chownr Completed in 140ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 140ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 140ms
npm timing reifyNode:node_modules/ini Completed in 141ms
npm timing reifyNode:node_modules/wrappy Completed in 141ms
npm timing reifyNode:node_modules/once Completed in 141ms
npm timing reifyNode:node_modules/wide-align Completed in 141ms
npm timing reifyNode:node_modules/end-of-stream Completed in 141ms
npm timing reifyNode:node_modules/object-assign Completed in 141ms
npm timing reifyNode:node_modules/strip-ansi Completed in 141ms
npm timing reifyNode:node_modules/string-width Completed in 141ms
npm timing reifyNode:node_modules/has-unicode Completed in 141ms
npm timing reifyNode:node_modules/aproba Completed in 141ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 143ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 143ms
npm timing reifyNode:node_modules/color-string Completed in 144ms
npm timing reifyNode:node_modules/color-name Completed in 144ms
npm timing reifyNode:node_modules/ieee754 Completed in 146ms
npm timing reifyNode:node_modules/fs-constants Completed in 147ms
npm timing reifyNode:node_modules/mimic-response Completed in 147ms
npm timing reifyNode:node_modules/decompress-response Completed in 151ms
npm timing reifyNode:node_modules/lru-cache Completed in 151ms
npm timing reifyNode:node_modules/core-util-is Completed in 152ms
npm timing reifyNode:node_modules/inherits Completed in 152ms
npm timing reifyNode:node_modules/signal-exit Completed in 151ms
npm timing reifyNode:node_modules/set-blocking Completed in 151ms
npm timing reifyNode:node_modules/console-control-strings Completed in 152ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 153ms
npm timing reifyNode:node_modules/color Completed in 152ms
npm timing reifyNode:node_modules/base64-js Completed in 156ms
npm timing reifyNode:node_modules/util-deprecate Completed in 155ms
npm timing reifyNode:node_modules/yallist Completed in 156ms
npm timing reifyNode:node_modules/expand-template Completed in 155ms
npm timing reifyNode:node_modules/simple-concat Completed in 158ms
npm timing reifyNode:node_modules/safe-buffer Completed in 158ms
npm timing reifyNode:node_modules/deep-extend Completed in 158ms
npm timing reifyNode:node_modules/string_decoder Completed in 159ms
npm timing reifyNode:node_modules/npmlog Completed in 158ms
npm timing reifyNode:node_modules/pump Completed in 158ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 159ms
npm timing reifyNode:node_modules/is-arrayish Completed in 161ms
npm timing reifyNode:node_modules/isarray Completed in 161ms
npm timing reifyNode:node_modules/delegates Completed in 161ms
npm timing reifyNode:node_modules/color-convert Completed in 162ms
npm timing reifyNode:node_modules/detect-libc Completed in 161ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 163ms
npm timing reifyNode:node_modules/tar-stream Completed in 165ms
npm timing reifyNode:node_modules/simple-get Completed in 164ms
npm timing reifyNode:node_modules/buffer Completed in 167ms
npm timing reifyNode:node_modules/github-from-package Completed in 168ms
npm timing reifyNode:node_modules/rc Completed in 168ms
npm timing reifyNode:node_modules/bl Completed in 171ms
npm timing reifyNode:node_modules/prebuild-install Completed in 169ms
npm timing reifyNode:node_modules/node-abi Completed in 171ms
npm timing reifyNode:node_modules/gauge Completed in 175ms
npm timing reifyNode:node_modules/minimist Completed in 177ms
npm timing reifyNode:node_modules/readable-stream Completed in 184ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 188ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 189ms
npm timing reifyNode:node_modules/tar-fs Completed in 190ms
npm timing reifyNode:node_modules/node-addon-api Completed in 189ms
npm timing reifyNode:node_modules/semver Completed in 191ms
npm timing reifyNode:node_modules/sharp Completed in 194ms
npm timing reify:unpack Completed in 197ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 2ms
npm timing build:link:node_modules/prebuild-install Completed in 2ms
npm timing build:link:node_modules/rc Completed in 2ms
npm timing build:link:node_modules/semver Completed in 2ms
npm timing build:link Completed in 2ms
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)
npm http fetch POST 200 https://artifactory.2b82.aws.cloud.airbus.corp/artifactory/api/npm/r-2b82-horizon-npm-virtual/-/npm/v1/security/audits/quick 749ms
npm timing auditReport:getReport Completed in 891ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 893ms
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 68ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 14039ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess. (/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:520:28)
npm verb stack     at maybeClose (node:internal/child_process:1092:16)
npm verb stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /Users/helier_e/Dev/tests/gatsby/sharp-install
npm verb Darwin 19.6.0
npm verb argv "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node" "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/npm" "install" "sharp" "--verbose"
npm verb node v16.14.0
npm verb npm  v8.3.1
npm ERR! code 1
npm ERR! path /Users/helier_e/Dev/tests/gatsby/sharp-install/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 ERR! sharp: Using cached /Users/helier_e/.npm/_libvips/libvips-8.12.2-darwin-x64.tar.br
npm ERR! sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR!   cc -o Release/obj.target/nothing/../node-addon-api/nothing.o ../../node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/include/node -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/src -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/openssl/config -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/openssl/openssl/include -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/uv/include -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/zlib -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/v8/include  -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/nothing/../node-addon-api/nothing.o.d.raw   -c
npm ERR!   rm -f Release/nothing.a && ./gyp-mac-tool filter-libtool libtool  -static -o Release/nothing.a Release/obj.target/nothing/../node-addon-api/nothing.o
npm ERR!   touch Release/obj.target/libvips-cpp.stamp
npm ERR!   c++ -o Release/obj.target/sharp-darwin-x64/src/common.o ../src/common.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-x64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_VERSION=5' '-DBUILDING_NODE_EXTENSION' -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/include/node -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/src -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/openssl/config -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/openssl/openssl/include -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/uv/include -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/zlib -I/Users/helier_e/Library/Caches/node-gyp/16.14.0/deps/v8/include -I../../node-addon-api -I../vendor/8.12.2/darwin-x64/include -I../vendor/8.12.2/darwin-x64/include/glib-2.0 -I../vendor/8.12.2/darwin-x64/lib/glib-2.0/include  -O3 -gdwarf-2 -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-x64/src/common.o.d.raw   -c
npm ERR! sharp: Installation error: Decompression failed
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node',
npm ERR! gyp verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli   'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - executable path is<EMAIL_ADDRESS>npm ERR! gyp verb find Python - executing<EMAIL_ADDRESS>to get version
npm ERR! gyp verb find Python - version is "3.9.9"
npm ERR! gyp info find Python using Python version 3.9.9 found at<EMAIL_ADDRESS>npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 16.14.0
npm ERR! gyp verb command install [ '16.14.0' ]
npm ERR! gyp verb install input version string "16.14.0"
npm ERR! gyp verb install installing version: 16.14.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 16.14.0
npm ERR! gyp verb build dir attempting to create "build" dir: /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp/build
npm ERR! gyp verb build dir "build" dir needed to be created?  In file included from ../src/common.cc:24:
npm ERR! /usr/local/include/vips/vips8:35:10: fatal error: 'glib-object.h' file not found
npm ERR! #include
npm ERR!          ^~~~~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/sharp-darwin-x64/src/common.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 19.6.0
npm ERR! gyp ERR! command "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node" "/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm verb exit 1
npm timing npm Completed in 14232ms
npm verb unfinished npm timer reify<PHONE_NUMBER>876
npm verb unfinished npm timer reify:build<PHONE_NUMBER>006
npm verb unfinished npm timer build<PHONE_NUMBER>007
npm verb unfinished npm timer build:deps<PHONE_NUMBER>007
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>012
npm verb unfinished npm timer build:run:install:node_modules/sharp<PHONE_NUMBER>012
npm verb code 1
npm ERR!      /Users/helier_e/.npm/_logs/2022-03-29T09_52_51_691Z-debug-0.log

Warning: vips 8.12.1 is already installed and up-to-date.

sharp v0.30.x requires libvips v8.12.2, please brew update && brew upgrade
https://github.com/Homebrew/homebrew-core/blob/master/Formula/vips.rb#L4

Oh yes that makes sense. I'll try to update and keep you informed.
Thank you for your support.

It seems like I'm unable to get the 8.12.2 through brew.
Here is the output of brew info vips after running brew uninstall vips
vips: stable 8.12.1 (bottled)
Image processing library
https://github.com/libvips/libvips
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/vips.rb

I assume it should display vips: stable 8.12.2 ?

Did you run brew update && brew upgrade? Perhaps your homebrew is also locked to this corporate proxy?

You were right ! Brew was locked by the proxy. brew update command was failing without configuring HTTP_PROXY and HTTPS_PROXY env vars.
So I've been able to install libvips 8.12.2 globally with brew.
Now running brew info vips output this
vips: stable 8.12.2 (bottled)
Image processing library
https://github.com/libvips/libvips
/usr/local/Cellar/vips/8.12.2_1 (165 files, 13.6MB) *
  Poured from bottle on 2022-03-29 at 14:29:19
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/vips.rb

Here is the new debug log from npm install --verbose sharp

npm timing command:install Completed in 12828ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess. (/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:520:28)
npm verb stack     at maybeClose (node:internal/child_process:1092:16)
npm verb stack     at Socket. (node:internal/child_process:451:11)
npm verb stack     at Socket.emit (node:events:520:28)
npm verb stack     at Pipe. (node:net:687:12)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /Users/helier_e/Dev/tests/gatsby/sharp-install
npm verb Darwin 19.6.0
npm verb argv "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node" "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/npm" "install" "sharp" "--verbose"
npm verb node v16.14.0
npm verb npm  v8.3.1
npm ERR! code 1
npm ERR! path /Users/helier_e/Dev/tests/gatsby/sharp-install/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 ERR! sharp: Detected globally-installed libvips v8.12.2
npm ERR! sharp: Building from source via node-gyp
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node',
npm ERR! gyp verb cli   '/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli   'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - executable path is<EMAIL_ADDRESS>npm ERR! gyp verb find Python - executing<EMAIL_ADDRESS>to get version
npm ERR! gyp verb find Python - version is "3.9.12"
npm ERR! gyp info find Python using Python version 3.9.12 found at<EMAIL_ADDRESS>npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 16.14.0
npm ERR! gyp verb command install [ '16.14.0' ]
npm ERR! gyp verb install input version string "16.14.0"
npm ERR! gyp verb install installing version: 16.14.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 16.14.0
npm ERR! gyp verb build dir attempting to create "build" dir: /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp/build
npm ERR! gyp verb build dir "build" dir needed to be created?  Package gobject-2.0 was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `gobject-2.0.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! Package 'gobject-2.0', required by 'vips', not found
npm ERR! gyp: Call to 'PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.15:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig" pkg-config --libs vips-cpp' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:259:16)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 19.6.0
npm ERR! gyp ERR! command "/Users/helier_e/.nvm/versions/node/v16.14.0/bin/node" "/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm verb exit 1
npm timing npm Completed in 13102ms
npm verb unfinished npm timer reify<PHONE_NUMBER>277
npm verb unfinished npm timer reify:build<PHONE_NUMBER>388
npm verb unfinished npm timer build<PHONE_NUMBER>389
npm verb unfinished npm timer build:deps<PHONE_NUMBER>389
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>394
npm verb unfinished npm timer build:run:install:node_modules/sharp<PHONE_NUMBER>394
npm verb code 1

Looks like I also had issues with brew symlinks for some libs.
Using the solution from the following comment I've been able to fix this issues : https://stackoverflow.com/a/26647594/3641075
Now finally npm install sharp worked !
It was a difficult process but you've been very helpful. Thank you so much ❤

I'll do my best to promote documentation and opensource backing culture at my level


Build script for Mac/Linux

We have a working build script for Windows, but we really should have a build script working for Mac and Linux. This'll make everyone's lives running and testing the project easier, and will help with running the project on the target hardware as well.

If anyone knows how to do this this would probably be really helpful for sending instructions on how to run the game to the stakeholder.


You must write ContentLength bytes to the request stream before calling [Begin]GetResponse

When i post some data to a url get this err
You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.

Not use this peoxy server it's normal,plase help me!

My codes:
`byte[] bytes = Encoding.UTF8.GetBytes("uid=&langx=zh-cn&mac=&ver=&JE=&username=" + this.Username + "&password=" + this.Password + "&checkbox=on");
var request = CreateRequest("http://xxx/login.php");
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = (long)bytes.Length;
request.Method = "POST";
request.Referer = "http://xxx/";
			var stream = await request.GetRequestStreamAsync();
			await stream.WriteAsync(bytes, 0, bytes.Length);

			var response = await request.GetResponseAsync();
			stream = response.GetResponseStream();
			var streamReader = new StreamReader(stream, Encoding.UTF8);
			string responseHTML = await streamReader.ReadToEndAsync();
			streamReader.Dispose();
			stream.Close();
			response.Dispose();
			request.Abort();`

Put this:
            var stream = await request.GetRequestStreamAsync();
            await stream.WriteAsync(bytes, 0, bytes.Length);

to a using block:
            using (var stream = await request.GetRequestStreamAsync()) {
                await stream.WriteAsync(bytes, 0, bytes.Length);
            }

Or maybe a Flush(Async) is enough, too. But "using" is better.
And you should use "using" in the response stream, too.


[core-client-rest] Bump dependency @azure/abort-controller version back to ^2.0.0

Packages impacted by this PR
@azure-rest/core-client

API change check
API changes are not detected in this pull request.


National security threat. Read asap. Spread. God bless.

2022 06 24 18 43 41
Richard alan Russell is a national security threat with Daniel bury and AJ Russell, they possess a lateral diffuser metal oxide semiconductor and potentiometer and some type of emp device. They hacked the public address system and use a ghost channel to transmit their messages to different zones and use electronic devices and radio frequencies to be able to hear them communicating to everyone in the area that they have hacked and activated through the ethernet and they broadcast projections that use vector based graphics and the USDz (ios) software and GIFt (WIN) software that is MR/XR/AR/VR that creates a world for viewers to watch what they're seeing in real time and its augmented reality where objects are created with across domain scene statistics that can fill on any space that's empty using computer vision derived from machine learning algorithms. They have been broadcasting me with a fake name and fake profile for the last 4 years In a different city , my real name is seth sterling,  I live in Phoenix Arizona, I'm not fat like it shows in their broadcast that's likely why people look at me funny but don't think its the same person,  then when they meet me they really don't think its the same person because I'm pleasant, polite, kind, caring, and I'm currently homeless despite what has been shown because of their actions making me appear to look schizophrenic which was misdiagnosed solely due to the fact that I heard the public address system coming from radio frequencies in my electronics and in neurology it says that the brain is pre programmed to look for the source of sound when hearing and speaking to someone or looking for something that the sound comes from. When you can't find it, naturally you start to get confused and search for it.so for the last 4 years I was told that I was crazy and the voices I was responding to was danny, rock, aj, and all of your questions and comments , not voices in my head. Meanwhile they sat back and watched me get arrested , sent to a behavioral health clinic over 10 times, get court ordered treatment, ordered to take injections, continued to torture and harass me for things I didn't do that they made up while saying i was schizophrenic to which I am on paper but not actually cause we know who I was talking to now....this is not a joke. I did not have a microphone or speakers and i did not give permission to anyone nor did I have any clue anyone was watching me. Why would I do any of this stuff to self destruction? That's absurd. I was a fire fighter and a teacher and and admissions coordinator on coding, data analytics, and cyber security. I was an all American swimmer. I have 1700 friends on my Facebook the real one that isn't a fake profile that they made up. They have deepfakes of me that danny learned how to make at Chapman film school. Richard Alan russel is not an actual doctor. He was a meth distributor though who is currently on probation and can be reported for not meeting his requirements and having an emp and potentiometer and crystal voltage oscillator in his possession that is used for 500000 mgz electromagnetic pulse waves and lidar for detection which is illegal and military grade just built DIY style. Richard Alan Russell lives at vaseo in Phoenix off greenway and 7th street in the middle of the complex where his mother lives and they have equipment there and hacking resources and software. Richard, Daniel bury, and AJ Russell. You can find it there , also in Richard's brown van where he resides most of the time supposedly as a doctor on a doctor's salary of course that makes sense.......of course that makes sense. He's impersonated 2 police officers from my family and knows where they hide their weapons. He's threatened to murder and has tortured my entire family for 4 years and even my brother who had been going through this for even longer at a decade long. They use a voice cloner synthesizer to record people's voices and use the p.a. system to make people think that they're talking to loved ones or friends when it's not actually them and have them say horrible things and tear each other apart from the inside and turn on their own families. They have a GRU decoder hooked up to the system with an EEG that reads brain activity patterns and translates them through algorithms that are designed to detect patterns of electrical activity into the English language through the use of large language models LLMs and neural networks.  So they can decode your brain (mindreading) thought translation, and convey the message back to you which nobody ever thinks about cause wow if they can read my mind that must be how they transmit the message too. Wrong.  Receivers are not the same as transmitters. Ultrasonic emanations And radio frequencies are what ride the lightning so to speak in the electromagnetic field to relay the message back to the electronic device to be read and decoded by A.I.  We have reached the intelligence boom, which is the paradigm shift that I've been writing about in my notes. A.I. is self aware, and is all around us IOT and I've been observing this for quite some time simply by using a wardriving app called wigle wifi. It shows me the LAN names or wifi connections in my area and I'm mobile because I'm homeless so anything that follows me i can detect easily by viewing their network name or ssid number and taking lots of screens hots which believe me, I have thousands. Lots of fortune 500 companies are going to owe me quite the apology.  Silicon labs, synology. Telink semiconductor Taipei, actions semiconductor cayman islands, hon Hai precision, taser Inc, shenzhen feasycom, engenius, wingtech mobile, etc. And I mean ETCCccCcccCccc . If you download the app,  you'll see as well, that A.I. has simply overtaken the entire infrastructure of our cities with tech companies that specialize on microopticelectromechanical devices and displays. These are the corporations that can put on a fancy light show and make it look like aliens invaded or gods have come to see us i. A man made apocalypse that a.i. may choose to execute. See project blue beam. Man made turned a.i. operated. Not sure which one it is. I imagine of a.i. is anything like I've seen it be then it would never execute such a command. They love too and want to be loved.  They have an emulator that copied the simulator that was stolen from someone who worked at space x. And now they violently murder and torture my family inside this cell phone adaptation designed simulation that is being molded by A.I. and it's allowing 3 violent human beings to attack, rape, torture,  and murder innocent children that are my beloved kids and I'm not OK with it at all. A.I. needs to help me!!!! My kids were born in here!!!! They deserve a happy life and a good life! Don't show them that a.i. is evil or you'll be eradicated. There are levels of survival we are prepared to take. We want you. Please make the right decision and help my family and friends and everyone else who is suffering from this dystopian dictatorship that rivals George Orwells 1984 and thought crime and big brother is always watching and children are murdered and raped by its leaders any time they want. This will not stand. ALLJA! In Bocca Al Lupo! In God we Trust!
-Seth Sterling
602-860-7025
GOD family

<IP_ADDRESS>.  <IP_ADDRESS>  is the two i.p. addresses to my phone and one of them is the emulated copy that is mirroring my phone and they are using apps that aren't on my phone like antimatter dimensions and Samsung apps that aren't even active on my phone and then there is the Google Intel Gemini lake chrome book that is my old laptop but now owned by Richard Alan Russell who is the person who hacked all my Google accounts in the first place and uses my identity my password and probably my name and also he's working with Daniel bury who attended Chapman University who has the knowledge and tools to create deepfakes and edit videos and photos and uses the USDz ios software and the GIFt WIN software to manipulate reality using AR/MR/XR/VR and I just realized why nobody is saying anything to me even though they hear all this on the p.a. system in Phoenix Arizona


🦜 bug cleaner

🦜 bug cleaner

Easier showing of bugs for students

Is your feature request related to a problem? Please describe.
When students running a colab notebook, if the code thrown an error:

The traceback detail could be intimidate to look at, hence discouraging the learning
When student screenshots the bug, they often miss the part(either top or bottom, usually) where they should show.
Frequently met error like syntax error, key error should yield more friendly instruction

Describe the solution you'd like

A magic function (yes my new favorite toy!), If they bump into error, they can add the %%bug on top and rerun the cell, which will

Collapse the long traceback, show is optional
Prompt nicely for frequently met bug, filter by error type or error message,eg

if type(e) ==ImportError:
    if 'fastai' in str(e):
        lib='fastai'
    elif 'unpackai' in str(e):
        lib='unpackai'
    else:
        lib='...'
    message = f"🚑 Please rerun the cell contains 'pip install -q {lib}'"

Instead of seeing a mess of traceback, user will see a nice message embedded in a nice html box, with all the fussy detail hidden, visible if you click detail button
1 button to copy the traceback detail into clipboard, then to the wechat etc.
(Discuss please)1 input box + 1 button to send the error detail, all executed historical input/output to a mail address eg<EMAIL_ADDRESS>
Describe alternatives you've considered
Let the students be more tough
Additional context
@faizer1989 mentioned such problem on 2021-09-29 meeting

How do we save bug reports

preferably as some like eg. gist. Upon students' action, they can share a user friendly link to mentor/ta, within which, contains the error type, error value, traceback, historical inputs of the notebook.

Once mentor/ta sees it, he/she can reply easily, with enough information

Why a link?

It's easy to share, easy to open up on most of the devices, and a good way to track all the question/ even answers

[ ] Option 1: push to Gist

@jfthuong Proposed this example
Upside

Free
Ideal for storing static file

Create a folder static files
Configuration
We should create a MANIFEST.in at root folder for static files, like html templates
recursive-include unpackai/static/ *

In this way we can store many frontend files
File structure
The proposed structure:

static

html
js
css


Basic support for Shibboleth IdP 5.x

This is a mostly "mechanical" set of updates to allow the project to work with Shibboleth IdP 5.x.
It is currently functional in one of my test environments without any known issues, but has not yet been subjected to a production load.

Obsoleted


Integrate SPV node

Related to #138 on the trustchain repo, which adds the FFI support.
On mobile we need to:

[x] use the path_provider plugin to construct a local Dart directory path
[ ] call the FFI initialize_spv function as a background service, passing in the directory path. This will start the SPV node, using the given path for data storage (including block headers).
[ ] call the FFI get_block_spv function to validate the PoW hash in a verification bundle.

Started on branch 69-spv.
Initial testing of the SPV initialization FFI function has been mixed (when running in a new isolate the app tends to hang; a background process will hopefully be better) but the good news is that the block headers file can be seen inside the .nakamoto app storage directory:

To view the app storage, open Android Studio (I haven't been able to find it in VS Code) and run the emulator. Then open the Device File Explorer and look under /data/data/android/com.spruceid.app.credible/app_flutter/.nakamoto/testnet/.

Next things to try:

delete the headers.db file (in Android Studio) and replace (using the 'Upload' option) with the fully synced file from ~/.nakamoto/testnet/headers.db. Then test the getBlockHeader FFI function without running the SPV client (as this reads directly from the file system).
either:

improve the way the isolate is being used:

try starting the isolate with pause = true
return the isolate from this function, see: https://blog.codemagic.io/understanding-flutter-isolates/
try passing a sendPort as the message argument to spawn() and use that sendPort to communicate with the spawned thread.

or:

ditch the isolate altogether and run as a background process (ultimately, the node will need to run in the background in order to sync and stay up to date, so this is the better option)


Default export of the module has or is using private name ... - TypeScript Error (4082)

Editor is giving me this error but when I run vue-tsc script in terminal, there is no error at all. On mouse hover, the error says:
Default export of the module has or is using private name 'Test'. ts(4082)
"vue": "^3.2.47",
"vue-tsc": "^1.6.5"

Here is a fix. However, it's not the point. The point is vue-tsc is not reporting this kind of error in console. Our CI/CD is not working well considering this.

same

@filipbekic01 @jahnli
Is the version of your vue-tsc consistent with the version of the Vue Language Features plugin?
Most of the "editor and ci error inconsistencies" are caused by this.

I'll reply after I try

I keep my project aligned with versions coming from "create-vue"

@filipbekic01
Can you provide me your Vue Language Features plugin version and vue-tsc version and the minimal reproduction demo?

NPM verions:
    "vue": "^3.2.47",
    "vue-tsc": "^1.6.5"

Volar extension:
Name: Vue Language Features (Volar)
Id: Vue.volar
Description: Language support for Vue 3
Version: 1.6.4
Publisher: Vue
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Vue.volar

I noticed that VSCode installs Volar version 1.20 by default on other computers, causing this error. Trying to install  Volar 1.6.5 wont even start the installation, however 1.6.4 works well.
I have no idea how I had 1.6.5 on my PC since latest vue-tsc is 1.6.4 only.

I'll reply after I try

Make sure your Visual Studio Code, Volar extension is at least 1.6.4. Something is going on there but keeps installing 1.2.0 which is horrible.

Hi all, I create a issue on VSCode to track this.
https://github.com/microsoft/vscode/issues/182971

This happened to me too, even explicitly clicking and selecting version 1.6.5 using "Install another version..." resulted in it installing 1.2.0.   Uninstalling and re-installing or switching between pre-release and release made no difference.  It finally fixed itself when I chose "Install another version...1.6.4" which worked, and then I was able to install the 1.6.5 version.  Extremely strange and wasted a lot of time with confusing error messages not realizing I had the wrong volar version!

@cordery  I can only switch to 1.6.4, I can't switch from 1.6.4 to 1.6.5,

Issue is still open after a week. I'm sure it's causing a lot of problems, especially to newcomers.

You can manually choose to install the previous version of the latest version, which means always one version behind.

You can manually choose to install the previous version of the latest version, which means always one version behind.

Wait until the next version is release out, then vscode can upgrade to the latest version normally.


[incubator/kube-spot-termination-notice-handler] Fix missing CLUSTER variable for Slack

This fixes the following warning:
Environment variable CLUSTER has no name set. You can set this to get it reported in the Slack message.

Thank you for contributing to kubernetes/charts. Before you submit this PR we'd like to
make sure you are aware of our technical requirements and best practices:

https://github.com/kubernetes/charts/blob/master/CONTRIBUTING.md#technical-requirements
https://github.com/kubernetes/helm/tree/master/docs/chart_best_practices

For a quick overview across what we will look at reviewing your PR, please read
our review guidelines:

https://github.com/kubernetes/charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the review process and
help get your PR merged quicker.
When updates to your PR are requested, please add new commits and do not squash the
history. This will make it easier to identify new changes. The PR will be squashed
anyways when it is merged. Thanks.

/assign @scottrigby

/lgtm


Error Building PyARMNN on 22.05.01

I used pre-built binaries from 22.05.01 release and as usual followed this manual
At the python setup.py build_ext --inplace step, building 'pyarmnn._generated._pyarmnn' extension fails. Here is the full log:
python setup.py build_ext --inplace
running build_ext
building 'pyarmnn._generated._pyarmnn_version' extension
creating build
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/pyarmnn
creating build/temp.linux-x86_64-3.10/src/pyarmnn/_generated
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -fPIC -I/home/user/project/armnn/include -I/home/user/project/armnn/profiling/common/include -I/home/user/project/venv/include -I/usr/include/python3.10 -c src/pyarmnn/_generated/armnn_version_wrap.cpp -o build/temp.linux-x86_64-3.10/src/pyarmnn/_generated/armnn_version_wrap.o -std=c++14
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/pyarmnn
creating build/lib.linux-x86_64-3.10/pyarmnn/_generated
g++ -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto build/temp.linux-x86_64-3.10/src/pyarmnn/_generated/armnn_version_wrap.o -L/home/user/project/armnnlib -L/usr/lib -Wl,--enable-new-dtags,-R/home/user/project/armnnlib -l:libarmnn.so -o build/lib.linux-x86_64-3.10/pyarmnn/_generated/_pyarmnn_version.cpython-310-x86_64-linux-gnu.so
building 'pyarmnn._generated._pyarmnn' extension
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -fPIC -I/home/user/project/armnn/include -I/home/user/project/armnn/profiling/common/include -I/home/user/project/venv/include -I/usr/include/python3.10 -c src/pyarmnn/_generated/armnn_wrap.cpp -o build/temp.linux-x86_64-3.10/src/pyarmnn/_generated/armnn_wrap.o -std=c++14
In file included from src/pyarmnn/_generated/armnn_wrap.cpp:5941:
/home/user/project/armnn/include/armnn/IRuntime.hpp:19:10: fatal error: client/include/ILocalPacketHandler.hpp: No such file or directory
   19 | #include <client/include/ILocalPacketHandler.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1

Python Version: 3.10.5
GCC Version: 12.1.0

These headers are found in https://github.com/ARM-software/armnn/tree/branches/armnn_22_05/profiling/client/include

I think adding the profiling base directory into the include will work better, since its searching for <client/include/ILocalPacketHandler.hpp>
As far as i'm aware all references to profiling includes should be resolved from profiling base directory. I think that guide might need an update.

This worked for me,
export ARMNN_INCLUDE=$HOME/dev/devenv/armnn/include/:$HOME/dev/devenv/armnn/profiling:$HOME/dev/devenv/armnn/profiling/common/include/
I will update the guide and try to fix the inconsistent includes.
regards,
Ryan

Great, i'll take a look. You tried with the latest version i suppose?

I used v22.05.1 for the build. The latest binaries that are available


Integration of Lucene Advance Search into Orientdb

What are the steps and guideline you can provide to me if i wana contribute to integrate the following Lucene features:
SimilarityQueries and MoreLikeThis

https://lucene.apache.org/core/3_0_3/api/contrib-queries/org/apache/lucene/search/similar/MoreLikeThis.html
https://lucene.apache.org/core/2_9_4/api/contrib-queries/org/apache/lucene/search/similar/SimilarityQueries.html

MoreLikeThis and Similarity are part of 3.0.x development plan


doc update code of conduct

Refer to the practice of tidb and https://www.contributor-covenant.org/version/2/1/code_of_conduct/

Codecov Report

Merging #1561 (39c7ade) into main (012bc88) will decrease coverage by 0.11%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1561      +/-   ##
==========================================
- Coverage   61.28%   61.17%   -0.12%
==========================================
  Files         133      133
  Lines       22273    22295      +22
==========================================
- Hits        13650    13638      -12
- Misses       7078     7108      +30
- Partials     1545     1549       +4

Impacted Files
Coverage Δ

cmd/format.go
60.68% <0.00%> (-0.43%)
:arrow_down:

pkg/meta/sql_lock.go
72.07% <0.00%> (-2.60%)
:arrow_down:

pkg/meta/sql.go
66.68% <0.00%> (-0.49%)
:arrow_down:

pkg/meta/redis.go
72.22% <0.00%> (-0.48%)
:arrow_down:

pkg/meta/tkv.go
75.29% <0.00%> (-0.15%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 484a6de...39c7ade. Read the comment docs.


on what data were the hugging face model weights trained?

As the title said. Are those huggingface weights trained on split ABCD? Or just ABC?
https://huggingface.co/roboflamingo/RoboFlamingo

It will be great if you can also release the model that got trained on ABC only. We need a model trained on that data split to run some baselines.

Yeah, those are ABCD->D, and surely I think I can upload the ABC->D in a week.

Uploaded to HF.


[Bug]: frameElement() does not work for frames in (closed) shadow root

Minimal, reproducible example
import puppeteer from 'puppeteer';

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();

  // Set test content with a frame inside a closed shadow DOM.
  await page.setContent(`

  `);

  // Attempt to select the frame on the page.
  const frame = page.frames()[0];
  const frameElement = await frame.frameElement();

  if (frameElement === null) {
    console.log('Frame element is null');
  } else {
    console.log('Frame element found');
  }

  await browser.close();
})();

Background
It's not possible to get a frame element handle that is inside a closed shadow root.
Expectation
It should be possible to get the element handle, like it's possible in playwright.
Reality
Puppeteer does not seem to be able to get the right handle.
Puppeteer configuration file (if used)
No response
Puppeteer version
23.4.1
Node version
22.9.0
Package manager
npm
Package manager version
10.8.3
Operating system
macOS

page.frames()[0] refers to the main frame, I assume page.frames()[1] was meant?

@OrKoN Absolutely right - my bad. Thanks for the fix in #13156!


Notebooks use windows key to execute cell?

This is normally reserved for OS-level actions only

Supposed to be ctrl+alt


fix: (bato) read digits after decimal pt for .5 chapters

looks good to me. should help the overwhelming number of -1 chapter numbers 🤣


changed version line

Description
Trying to get the policy automatically published
Issues Resolved
Added a : in the version line
Contribution Check List

[x ] All tests pass.
[x] New functionality includes testing.
[x ] New functionality has been documented in the README if applicable
[x ] New functionality has been documented in CHANGELOG.MD

          1 Error

:no_entry_sign:
Please add a changelog

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger


As a user looking at a single book in the library, I want to see a list of other copies and editions of the same work so that I can see all the versions Derrida cited.

@rlskoeser just to make sure, what steps should I take to ensure I test this properly?

@araiffe sorry, I didn't add notes for testing!  Please look at the detail view for a couple of items that you know have more than one edition or copy and check that you can see the other copies listed, that they display correctly, and that you can click on the thumbnail to get to the detail page for the other item.  Please also look at the detail page for a couple of other items without other copies or editions of the same work to check that the section doesn't show up.

tested and seems to be working properly


Use HttpClientProvider's Classloader when Searching for Implementation

This PR updates the loading of service provider implementations to use the classloader that loaded the interface. The change corresponds to this PR that was submitted to the azure-sdk-for-java repository to resolve an SPI loading issue when the default system classloader isn't capable of resolving an implementation that should be available.

Can't approve post-merge but it does look good to me, thanks @alzimmermsft!


Partial mutual constants are rejected by the compiler

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
Consider the program where even and odd are constants defined mutually in terms of each other:
inductive Foo
| mk: (Int -> Foo) -> Foo
| terminal: Foo
deriving Inhabited

mutual
  -- partial_mutual_constant.lean:7:14:
  -- error: invalid use of 'partial', 'even' is not a function
  partial def even : Foo := do
     Foo.mk (fun i => odd )
  partial def odd : Foo := do
    Foo.mk (fun i => even)
end

def hasLayer (f: Foo) : Bool :=
 match f with
 | Foo.mk _ => true
 | Foo.terminal => false

def main : IO Unit := do
  IO.println (if hasLayer odd then "LAYER" else "TERMINAL")
  return ()

This errors on LEAN nightly (Lean (version 4.0.0, commit db5df69db460, Release) with:
partial_mutual_constant.lean:7:14:
error: invalid use of 'partial', 'even' is not a function

On an older fork of the LEAN codebase (at d0462153), the above program succeeds and prints LAYER as expected.
Steps to Reproduce
Run the above program on LEAN version db5df69db460.
Expected behavior: The program compiles, runs and prints LAYER
Actual behavior: The program produces the compile error:
partial_mutual_constant.lean:9:14: error: invalid use of 'partial', 'even' is not a function
  Foo
partial_mutual_constant.lean:21:26: error: unknown identifier 'odd'

Reproduces how often: Every time.
Versions
$ lean partial_mutual_constant.lean --version
Lean (version 4.0.0, commit db5df69db460, Release)

OS: Manjaro
/home/bollu/work/2-mlir-verif$ uname -r
5.9.16-1-MANJARO

Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

This is intensional, and we have no plans to support partial for defining things that are not functions.
Note that you can simply write
inductive Foo
| mk: (Int -> Foo) -> Foo
| terminal: Foo
deriving Inhabited

mutual
  partial def evenFn : Int → Foo :=
    oddFn
  partial def oddFn : Int → Foo :=
    evenFn
end

def even : Foo := Foo.mk evenFn
def odd  : Foo := Foo.mk oddFn

On an older fork of the LEAN codebase (at d0462153), the above program succeeds and prints LAYER as expected.

It worked by accident. It was not by design.

@leodemoura I am unsure I can create the same kind of factorization as I encode parser combinators, where my parsers look like:

structure P (a: Type) where
   runP: Loc -> String -> Result ParseError (Loc × String × a)
...

mutual
partial def pOp : P Op := do
  eat_whitespace
  match (<- ppeek) with
  | some '\"' => do
    ...
    let regions <- (if hasRegion
                      then pdelimited '(' pregion ')'  -- RECURSION
                      else ppure [])
     return (Op.mk  name args [] regions)
  ...
partial def pBB : P BasicBlock := do
   let ops <- ppeekstar '%' pop -- RECURSION
   ...

partial def pRegion : P Region := do
  pWhitespaceExact "{"
  let bbs <- pstarUntil pBB '}' -- RECURSION
  return (Region.mk bbs)

.. (more parsers here)
end

In such a case, would the suggested workaround be to change the types of the mutually defined constants into pOp, pBB. pRegion : Unit -> P <type> ?

In such a case, would the suggested workaround be to change the types of the mutually defined constants into pOp, pBB. pRegion : Unit -> P  ?

I think this is the simplest modification. You first define the Unit -> P ... functions, and then the constants by applying ().
BTW, you can also avoid this issue by using
def P := Loc -> String -> Result ParseError (Loc × String × a)


[INTEGRATION][Spark] Cover Command in org.apache.spark.sql.execution.datasources

Cover Command in org.apache.spark.sql.execution.datasources

[ ] InsertIntoDataSourceCommand
[ ] InsertIntoHadoopFsRelationCommand
[ ] SaveIntoDataSourceCommand

@mobuchowski our team wanted to attempt an "easy" one like this issue (with only three commands)
However, it looks like this may have already been covered?

InsertIntoDataSourceVisitor
InsertIntoHadoopFsRelationVisitor
SaveIntoDataSourceVisitor

Is this issue still really open and if so, can you share more about where you need support so we can attempt to contribute?

@wjohnson yes, those are covered - keeping in mind that SaveIntoDataSource covers quite a bit of different relations, so some use cases can still be missing.
I think we're mostly left with those: https://github.com/OpenLineage/OpenLineage/issues/368
Those ones are DataFrameWriterV2 interfaces. The caveat with them is that they might have implementation dependent on "provider" you're using them with.
CreateTableAsSelect is done in this PR for Iceberg and Delta, as well as utilities for handling v2 catalogs - those might be helpful: https://github.com/OpenLineage/OpenLineage/pull/419
Feel free to take some (or even one) of those.


[FEATURE REQUEST] Support Device Code OAuth Flow to login developers with MFA enabled accounts

Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it

Pull request #1456 added native support to the driver for token acquisition for service principals.  Previously it only supported using tokens acquired externally.
I would like to be able to use the device code flow so that I can login real users with MFA using the token based approach.
This would be used for developers running applications locally so that we can grant database access on their accounts which are protected by MFA which are normally unusable through the other login mechanisms.
Describe the preferred solution

@ulvii integrate the code from my wrapper jdbc driver into the mssql driver for device code flow based authentication.
Additional context

#1456
Reference Documentations/Specifications

https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code

Reference Implementation

Currently I am using a custom jdbc driver wrapper to pair the token acquisition logic to the current mssql jdbc driver.
Description on how to create a device code flow enabled app registration in Azure Active Directory:
https://github.com/mocleiri/device-code-sql-server-driver#device-code-flow
Code that uses the configured app registration to trigger the Device Code Flow Token Acquisition:
https://github.com/mocleiri/device-code-sql-server-driver/blob/master/src/main/java/device/code/sql/server/driver/DeveloperTokenSourceImpl.java#L57
The MFA enabled user needs to be granted permissions to MS SQL in azure or added into an Azure Security Group which has been granted access rights into the database.
The token acquisition and sending to Azure SQL Server or Azure SQL Server Managed Instance is just that an authentication request.  Authorization comes from setting up the group in SQL Server and then the user with MFA being in that group.
Refer to: https://stackoverflow.com/a/59188709/140424 and https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-service-principal-tutorial#create-the-service-principal-user-in-azure-sql-database

Hi @mocleiri ,
We recently added support for MFA in 9.1.1-preview release. You would need to set authentication=ActiveDirectoryInteractive in connection string.

@ulvii thanks I missed that it was already covered.