-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issue on MacOS behind a proxy #3162
Comments
Hi, as I mentioned in #3154,
You mentioned in #3154 (comment) that you had installed libvips via homebrew, but the installation log above does not reflect this. Did you use |
Hi, sorry I tried to restart everything from scratch today following closely the instructions.
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
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 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 npm@8.3.1
npm info using node@v16.14.0
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 sharp@0.30.3 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 sharp@0.30.3 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 sharp@0.30.3
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 node-gyp@8.4.1
npm ERR! gyp info using node@16.14.0 | 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 "/usr/local/opt/python@3.9/bin/python3.9"
npm ERR! gyp verb find Python - executing "/usr/local/opt/python@3.9/bin/python3.9" 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 "/usr/local/opt/python@3.9/bin/python3.9"
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? Yes
npm ERR! gyp verb build/config.gypi creating config file
npm ERR! gyp verb build/config.gypi writing out config file: /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp/build/config.gypi
npm ERR! gyp verb config.gypi checking for gypi file: /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp/config.gypi
npm ERR! gyp verb common.gypi checking for gypi file: /Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp/common.gypi
npm ERR! gyp verb gyp gyp format was not specified; forcing "make"
npm ERR! gyp info spawn /usr/local/opt/python@3.9/bin/python3.9
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/helier_e/Library/Caches/node-gyp/16.14.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/helier_e/Library/Caches/node-gyp/16.14.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/helier_e/.nvm/versions/node/v16.14.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/helier_e/Library/Caches/node-gyp/16.14.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/helier_e/Dev/tests/gatsby/sharp-install/node_modules/sharp',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp verb command build []
npm ERR! gyp verb build type Release
npm ERR! gyp verb architecture x64
npm ERR! gyp verb node dev dir /Users/helier_e/Library/Caches/node-gyp/16.14.0
npm ERR! gyp verb `which` succeeded for `make` /usr/bin/make
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
npm ERR! 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 1648547571876
npm verb unfinished npm timer reify:build 1648547578006
npm verb unfinished npm timer build 1648547578007
npm verb unfinished npm timer build:deps 1648547578007
npm verb unfinished npm timer build:run:install 1648547578012
npm verb unfinished npm timer build:run:install:node_modules/sharp 1648547578012
npm verb code 1
npm ERR! A complete log of this run can be found in: |
sharp v0.30.x requires libvips v8.12.2, please 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. |
It seems like I'm unable to get the 8.12.2 through brew.
I assume it should display vips: stable 8.12.2 ? |
Did you run |
You were right ! Brew was locked by the proxy. So I've been able to install libvips 8.12.2 globally with brew.
Here is the new debug log from
|
Looks like I also had issues with brew symlinks for some libs. Now finally |
Please can you now update your organisation's internal documentation relating to the use of this corporate proxy so your colleagues don't have to go through the same process. I'll also leave https://opencollective.com/libvips here in case Airbus are looking for ways to invest some of the billions of profit it makes in helping to maintain the open source software upon which it depends. |
I'll do my best to promote documentation and opensource backing culture at my level |
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 :npm install
is the same as the architecture and platform of Node.js used at runtime.Are you using the latest version of sharp?
sharp
as reported bynpm 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? YESWhat is the complete output of running
npm install --verbose sharp
?npm ERR! A complete log of this run can be found in:
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
?The text was updated successfully, but these errors were encountered: