Closed sidferreira closed 1 year ago
npm install -g sharp --arch x64 --platform linux --verbose --foreground-scripts
Hi, please can you provide the complete output of running npm install --verbose --foreground-scripts sharp
in an empty directory (removing the additional flags used here such as -g
).
npm install -g sharp --arch x64 --platform linux --verbose --foreground-scripts
Hi, please can you provide the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory (removing the additional flags used here such as-g
).
Will do it tomorrow, but we need it globally, with appium... Also, it is OK on Macs.
npm install -g sharp --arch x64 --platform linux --verbose --foreground-scripts
Hi, please can you provide the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory (removing the additional flags used here such as-g
).
without global
+ npm install --verbose --foreground-scripts sharp
npm verb cli /root/.nvm/versions/node/v20.2.0/bin/node /root/.nvm/versions/node/v20.2.0/bin/npm
npm info using npm@9.6.6
npm info using node@v20.2.0
npm verb title npm install sharp
npm verb argv "install" "--loglevel" "verbose" "--foreground-scripts" "sharp"
npm verb logfile logs-max:10 dir:/root/.npm/_logs/2023-06-02T03_18_28_482Z-
npm verb logfile /root/.npm/_logs/2023-06-02T03_18_28_482Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/sharp 446ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 45ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 75ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color 77ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 76ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 77ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 79ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/semver 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 434ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 44ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 56ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 50ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/minimist 58ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 60ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/chownr 71ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 84ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 71ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-string 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 85ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/once 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/pump 92ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 134ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 452ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 463ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 466ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/rc 474ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-name 34ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-name 35ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 30ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 32ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 35ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ini 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 46ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/wrappy 47ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/yallist 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 34ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/inherits 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 44ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/bl 46ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/buffer 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 35ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 35ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ieee754 31ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/base64-js 34ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz 108ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz 108ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz 111ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz 109ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz 110ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz 110ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz 110ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color/-/color-4.2.3.tgz 112ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz 115ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz 124ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-abi/-/node-abi-3.43.0.tgz 131ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz 136ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz 142ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/sharp/-/sharp-0.32.1.tgz 142ms (cache miss)
npm info run sharp@0.32.1 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
> sharp@0.32.1 install
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.2/libvips-8.14.2-linux-x64.tar.br
sharp: Integrity check passed for linux-x64
prebuild-install info begin Prebuild-install version 7.1.1
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.32.1-napi-v7-linux-x64.tar.gz
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/8ad733-sharp-v0.32.1-napi-v7-linux-x64.tar.gz
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.32.1/sharp-v0.32.1-napi-v7-linux-x64.tar.gz
prebuild-install http 200 https://github.com/lovell/sharp/releases/download/v0.32.1/sharp-v0.32.1-napi-v7-linux-x64.tar.gz
prebuild-install info downloading to @ /root/.npm/_prebuilds/8ad733-sharp-v0.32.1-napi-v7-linux-x64.tar.gz.2528-7f2add4a3aba6.tmp
prebuild-install info renaming to @ /root/.npm/_prebuilds/8ad733-sharp-v0.32.1-napi-v7-linux-x64.tar.gz
prebuild-install info unpacking @ /root/.npm/_prebuilds/8ad733-sharp-v0.32.1-napi-v7-linux-x64.tar.gz
prebuild-install info unpack resolved to /bitrise/src/node_modules/sharp/build/Release/sharp-linux-x64.node
prebuild-install info install Successfully installed prebuilt binary!
npm info run sharp@0.32.1 install { code: 0, signal: null }
added 45 packages in 3s
10 packages are looking for funding
run `npm fund` for details
npm verb exit 0
npm info ok
with global
+ npm install -g sharp --arch x64 --platform linux --verbose --foreground-scripts
npm verb cli /root/.nvm/versions/node/v20.2.0/bin/node /root/.nvm/versions/node/v20.2.0/bin/npm
npm info using npm@9.6.6
npm info using node@v20.2.0
npm verb title npm install sharp x64 linux
npm verb argv "install" "--global" "sharp" "--arch" "x64" "--platform" "linux" "--loglevel" "verbose" "--foreground-scripts"
npm verb logfile logs-max:10 dir:/root/.npm/_logs/2023-06-02T03_18_31_565Z-
npm verb logfile /root/.npm/_logs/2023-06-02T03_18_31_565Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/sharp 12ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/x64 234ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/linux 384ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/minimist 35ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 32ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 32ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color 34ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 33ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/semver 34ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 34ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tar-fs 35ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 38ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-forge 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp 90ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/cat-names 411ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/nugget 410ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/keypair 458ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/psjson 483ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/daemonspawn 551ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/single-line-log 40ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pretty-bytes 44ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/meow 56ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/throttleit 69ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/debug 78ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/tree-kill 95ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/request 92ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/progress-stream 360ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-running 402ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/unique-random-array 437ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/npm-execspawn 497ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 44ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color-string 44ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/github-from-package 40ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 40ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/expand-template 42ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/rc 39ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 40ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 42ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/decompress-response 37ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 39ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-concat 36ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/pump 43ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/chownr 36ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/once 40ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 36ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/tar-stream 36ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 36ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/trim-newlines 32ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/loud-rejection 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/normalize-package-data 44ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/camelcase-keys 49ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 59ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/read-pkg-up 371ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/redent 393ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/decamelize 418ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/map-obj 427ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/unique-random 443ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/xtend 35ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/shell-quote 123ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/execspawn 391ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/read-pkg 41ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/camelcase 54ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/validate-npm-package-license 55ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/indent-string 51ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 59ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/currently-unhandled 62ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/find-up 57ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/resolve 63ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/hosted-git-info 65ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-indent 433ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/array-find-index 344ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/spdx-correct 32ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/supports-preserve-symlinks-flag 37ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-core-module 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/path-parse 40ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/spdx-expression-parse 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ms 35ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/util-extend 357ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/get-stdin 50ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/extend 49ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/http-signature 51ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aws4 57ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/form-data 57ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aws-sign2 62ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-typedarray 63ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/combined-stream 67ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/through2 77ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/har-validator 73ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/performance-now 72ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/json-stringify-safe 77ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/oauth-sign 76ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tough-cookie 75ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/uuid 76ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/isstream 85ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mime-types 84ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/forever-agent 96ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/qs 101ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/speedometer 158ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/caseless 379ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/load-json-file 28ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/path-type 31ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/pinkie-promise 34ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/path-exists 40ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/pinkie 38ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/parse-json 32ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/strip-bom 36ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/pify 37ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/graceful-fs 40ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/error-ex 34ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-utf8 421ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/repeating 34ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-finite 354ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/har-schema 47ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ajv 50ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/asynckit 55ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/assert-plus 52ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/delayed-stream 58ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/jsprim 58ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/psl 53ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/punycode 54ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/sshpk 61ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mime-db 63ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/uri-js 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fast-json-stable-stringify 35ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fast-deep-equal 37ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/json-schema-traverse 41ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/getpass 43ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/verror 48ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/json-schema 51ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/jsbn 48ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/dashdash 51ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/safer-buffer 51ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/bcrypt-pbkdf 49ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ecc-jsbn 50ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/extsprintf 58ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/asn1 56ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tweetnacl 379ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 37ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/has 32ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/function-bind 31ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/inherits 9ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/object-keys 31ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/isarray 35ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/spdx-exceptions 418ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/spdx-license-ids 448ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-name 8ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/color-name 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/end-of-stream 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ini 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/wrappy 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/yallist 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/mimic-response 2ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/bl 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/fs-constants 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 3ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/buffer 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/base64-js 4ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ieee754 3ms (cache hit)
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm http fetch GET 200 https://registry.npmjs.org/once/-/once-1.1.1.tgz 376ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz 375ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/unique-random/-/unique-random-1.0.0.tgz 377ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz 372ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz 374ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz 373ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz 377ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz 380ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz 378ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz 382ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz 385ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pify/-/pify-2.3.0.tgz 382ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz 394ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz 389ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz 387ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz 388ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz 394ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz 392ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz 393ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz 394ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz 391ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/progress-stream/-/progress-stream-1.2.0.tgz 390ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/single-line-log/-/single-line-log-0.4.1.tgz 391ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/through2/-/through2-0.2.3.tgz 390ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-1.0.4.tgz 391ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz 391ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz 401ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz 392ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/execspawn/-/execspawn-1.0.1.tgz 392ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz 389ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz 401ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz 399ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz 397ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/redent/-/redent-1.0.0.tgz 397ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz 395ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/xtend/-/xtend-3.0.0.tgz 402ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz 397ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/meow/-/meow-3.7.0.tgz 393ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/unique-random-array/-/unique-random-array-1.0.1.tgz 394ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz 391ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz 398ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/cat-names/-/cat-names-1.0.2.tgz 392ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/daemonspawn/-/daemonspawn-1.0.1.tgz 395ms (cache miss)
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm http fetch GET 200 https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz 412ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz 414ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/npm-execspawn/-/npm-execspawn-1.3.0.tgz 415ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz 428ms (cache miss)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm http fetch GET 200 https://registry.npmjs.org/nugget/-/nugget-1.6.2.tgz 413ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-running/-/is-running-1.0.5.tgz 422ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/keypair/-/keypair-1.0.4.tgz 425ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/x64/-/x64-1.0.0.tgz 478ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-forge/-/node-forge-0.6.49.tgz 455ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tree-kill/-/tree-kill-0.1.1.tgz 626ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/linux/-/linux-4.2.1.tgz 752ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/psjson/-/psjson-0.1.0.tgz 752ms (cache miss)
npm info run sharp@0.32.1 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
> sharp@0.32.1 install
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.2/libvips-8.14.2-true-true.tar.br
sharp: Installation error: Prebuilt libvips 8.14.2 binaries are not yet available for true-true
sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm info run sharp@0.32.1 install { code: 1, signal: null }
npm verb stack Error: command failed
npm verb stack at ChildProcess.<anonymous> (/root/.nvm/versions/node/v20.2.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
npm verb stack at ChildProcess.emit (node:events:511:28)
npm verb stack at maybeClose (node:internal/child_process:1098:16)
npm verb stack at ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm verb pkgid sharp@0.32.1
npm verb cwd /bitrise/src
npm verb Linux 5.13.0-1015-gcp
npm verb node v20.2.0
npm verb npm v9.6.6
npm ERR! code 1
npm ERR! path /root/.nvm/versions/node/v20.2.0/lib/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm verb exit 1
npm verb unfinished npm timer reify 1685675911712
npm verb unfinished npm timer reify:build 1685675918933
npm verb unfinished npm timer build 1685675918933
npm verb unfinished npm timer build:deps 1685675918933
npm verb unfinished npm timer build:run:install 1685675918942
npm verb unfinished npm timer build:run:install:node_modules/sharp 1685675918943
npm verb code 1
sharp: Installation error: Prebuilt libvips 8.14.2 binaries are not yet available for true-true
The npm
CLI requires the use of equals separators when providing non-boolean switches, which includes --arch=
and --platform=
.
https://sharp.pixelplumbing.com/install#cross-platform
npm install sharp --arch=x64 --platform=linux ...
(As an aside, I generally discourage global installation of packages via npm, so if there's a way to avoid it please do so to help prevent future headaches.)
@lovell 🤦♂️ Indeed, it did the trick! tyvm!
Possible install-time or require-time problem
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
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a
root
orsudo
user, have you tried with thenpm install --unsafe-perm
flag?If you are using npm v7 or later, does the user running
npm install
own the directory it is run in?If you are using the
ignore-scripts
feature ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?