lovell / sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
https://sharp.pixelplumbing.com
Apache License 2.0
29.25k stars 1.3k forks source link

AWS Lambda using the sharp build from mac OS for HEIC processing #2963

Closed abidzafar closed 2 years ago

abidzafar commented 3 years ago

Did you see the documentation relating to installation? Yes

Have you ensured 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? Yes, which is Nodejs14.

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest? Yes, using 0.29.2

If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?

If you are using npm v7, does the user running npm install own the directory it is run in? Yes.

If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag? Yes.

What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages? Yes, I have checked but found nothing useful.

What is the output of running npx envinfo --binaries --system? System: OS: macOS 10.15.5 CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Memory: 561.64 MB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 14.0.0 - ~/.nvm/versions/node/v14.0.0/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 6.14.4 - ~/.nvm/versions/node/v14.0.0/bin/npm

My question is pretty straight. I want to build sharp from macOS for which I'll be needing this command as per installation guide SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --arch=x64 --platform=linux sharp but it gets the libvips either from https://github.com/lovell/sharp-libvips/releases/download/v8.11.3/libvips-8.11.3-linux-x64.tar.br or from ~/.npm/_libvips depending on if it is installed locally or not. On the other hand I also want to do processing on heic via an AWS lambda function which is having arch=x64 which is ultimately giving the following error:

"Error: source: bad seek to 293616", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)", "heif: Unsupported feature: Unsupported codec (4.3000)"

Note:

abidzafar commented 3 years ago

Here are the results from npm install --verbose sharp

npm info it worked if it ends with ok npm verb cli [ npm verb cli '/Users/muhammadamad/.nvm/versions/node/v14.0.0/bin/node', npm verb cli '/Users/muhammadamad/.nvm/versions/node/v14.0.0/bin/npm', npm verb cli 'install', npm verb cli '--verbose', npm verb cli 'sharp' npm verb cli ] npm info using npm@6.14.4 npm info using node@v14.0.0 npm verb npm-session bc8cd7a3b49c53cb npm http fetch GET 200 https://registry.npmjs.org/sharp 18ms (from cache) npm timing stage:loadCurrentTree Completed in 66ms npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms npm http fetch GET 200 https://registry.npmjs.org/semver 60ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/tar-fs 57ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 64ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/simple-get 61ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/detect-libc 336ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/node-addon-api 339ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/tunnel-agent 345ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/color 1186ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/color-convert 11ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/color-string 1030ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/color-name 5ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/simple-swizzle 1075ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/is-arrayish 114ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/github-from-package 25ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/mkdirp-classic 25ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/napi-build-utils 25ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/expand-template 28ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/node-abi 27ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/minimist 30ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/pump 29ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/npmlog 121ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/rc 154ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/gauge 11ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/console-control-strings 138ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/are-we-there-yet 140ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/set-blocking 246ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/delegates 185ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/readable-stream 187ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 22ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 22ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/string_decoder 22ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/isarray 24ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/inherits 109ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/safe-buffer 117ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/core-util-is 202ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/has-unicode 105ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/signal-exit 107ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/strip-ansi 111ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/aproba 174ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/string-width 222ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/wide-align 248ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/object-assign 250ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/code-point-at 79ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/is-fullwidth-code-point 967ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/number-is-nan 88ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/ansi-regex 76ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/once 6ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/end-of-stream 78ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/wrappy 6ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/ini 12ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/deep-extend 99ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/strip-json-comments 101ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/simple-concat 5ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/decompress-response 88ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/mimic-response 98ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/tar-stream 5ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/chownr 87ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/fs-constants 6ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/bl 1007ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/buffer 87ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/ieee754 6ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/base64-js 88ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/lru-cache 96ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/yallist 75ms (from cache) npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 7511ms npm timing stage:loadIdealTree Completed in 7542ms npm timing stage:generateActionsToTake Completed in 24ms npm verb correctMkdir /Users/muhammadamad/.npm/_locks correctMkdir not in flight; initializing npm verb lock using /Users/muhammadamad/.npm/_locks/staging-43dbd66c0103e939.lock for /Users/muhammadamad/Downloads/compression/node_modules/.staging npm timing action:extract Completed in 321ms npm timing action:finalize Completed in 87ms npm timing action:refresh-package-json Completed in 130ms npm info lifecycle ansi-regex@2.1.1~preinstall: ansi-regex@2.1.1 npm info lifecycle aproba@1.2.0~preinstall: aproba@1.2.0 npm info lifecycle base64-js@1.5.1~preinstall: base64-js@1.5.1 npm info lifecycle chownr@1.1.4~preinstall: chownr@1.1.4 npm info lifecycle code-point-at@1.1.0~preinstall: code-point-at@1.1.0 npm info lifecycle color-name@1.1.4~preinstall: color-name@1.1.4 npm info lifecycle color-convert@2.0.1~preinstall: color-convert@2.0.1 npm info lifecycle console-control-strings@1.1.0~preinstall: console-control-strings@1.1.0 npm info lifecycle core-util-is@1.0.3~preinstall: core-util-is@1.0.3 npm info lifecycle deep-extend@0.6.0~preinstall: deep-extend@0.6.0 npm info lifecycle delegates@1.0.0~preinstall: delegates@1.0.0 npm info lifecycle detect-libc@1.0.3~preinstall: detect-libc@1.0.3 npm info lifecycle expand-template@2.0.3~preinstall: expand-template@2.0.3 npm info lifecycle fs-constants@1.0.0~preinstall: fs-constants@1.0.0 npm info lifecycle github-from-package@0.0.0~preinstall: github-from-package@0.0.0 npm info lifecycle has-unicode@2.0.1~preinstall: has-unicode@2.0.1 npm info lifecycle ieee754@1.2.1~preinstall: ieee754@1.2.1 npm info lifecycle buffer@5.7.1~preinstall: buffer@5.7.1 npm info lifecycle inherits@2.0.4~preinstall: inherits@2.0.4 npm info lifecycle ini@1.3.8~preinstall: ini@1.3.8 npm info lifecycle is-arrayish@0.3.2~preinstall: is-arrayish@0.3.2 npm info lifecycle isarray@1.0.0~preinstall: isarray@1.0.0 npm info lifecycle mimic-response@2.1.0~preinstall: mimic-response@2.1.0 npm info lifecycle decompress-response@4.2.1~preinstall: decompress-response@4.2.1 npm info lifecycle minimist@1.2.5~preinstall: minimist@1.2.5 npm info lifecycle mkdirp-classic@0.5.3~preinstall: mkdirp-classic@0.5.3 npm info lifecycle napi-build-utils@1.0.2~preinstall: napi-build-utils@1.0.2 npm info lifecycle semver@5.7.1~preinstall: semver@5.7.1 npm info lifecycle node-abi@2.30.1~preinstall: node-abi@2.30.1 npm info lifecycle number-is-nan@1.0.1~preinstall: number-is-nan@1.0.1 npm info lifecycle is-fullwidth-code-point@1.0.0~preinstall: is-fullwidth-code-point@1.0.0 npm info lifecycle object-assign@4.1.1~preinstall: object-assign@4.1.1 npm info lifecycle process-nextick-args@2.0.1~preinstall: process-nextick-args@2.0.1 npm info lifecycle safe-buffer@5.1.2~preinstall: safe-buffer@5.1.2 npm info lifecycle set-blocking@2.0.0~preinstall: set-blocking@2.0.0 npm info lifecycle signal-exit@3.0.5~preinstall: signal-exit@3.0.5 npm info lifecycle simple-concat@1.0.1~preinstall: simple-concat@1.0.1 npm info lifecycle simple-swizzle@0.2.2~preinstall: simple-swizzle@0.2.2 npm info lifecycle color-string@1.6.0~preinstall: color-string@1.6.0 npm info lifecycle string_decoder@1.1.1~preinstall: string_decoder@1.1.1 npm info lifecycle strip-ansi@3.0.1~preinstall: strip-ansi@3.0.1 npm info lifecycle string-width@1.0.2~preinstall: string-width@1.0.2 npm info lifecycle strip-json-comments@2.0.1~preinstall: strip-json-comments@2.0.1 npm info lifecycle rc@1.2.8~preinstall: rc@1.2.8 npm info lifecycle tunnel-agent@0.6.0~preinstall: tunnel-agent@0.6.0 npm info lifecycle util-deprecate@1.0.2~preinstall: util-deprecate@1.0.2 npm info lifecycle readable-stream@3.6.0~preinstall: readable-stream@3.6.0 npm info lifecycle bl@4.1.0~preinstall: bl@4.1.0 npm info lifecycle readable-stream@2.3.7~preinstall: readable-stream@2.3.7 npm info lifecycle are-we-there-yet@1.1.7~preinstall: are-we-there-yet@1.1.7 npm info lifecycle sharp@0.29.2~preinstall: sharp@0.29.2 npm info lifecycle semver@7.3.5~preinstall: semver@7.3.5 npm info lifecycle prebuild-install@6.1.4~preinstall: prebuild-install@6.1.4 npm info lifecycle node-addon-api@4.2.0~preinstall: node-addon-api@4.2.0 npm info lifecycle color@4.0.1~preinstall: color@4.0.1 npm info lifecycle lru-cache@6.0.0~preinstall: lru-cache@6.0.0 npm info lifecycle yallist@4.0.0~preinstall: yallist@4.0.0 npm info lifecycle simple-get@3.1.0~preinstall: simple-get@3.1.0 npm info lifecycle tar-fs@2.1.1~preinstall: tar-fs@2.1.1 npm info lifecycle pump@3.0.0~preinstall: pump@3.0.0 npm info lifecycle tar-stream@2.2.0~preinstall: tar-stream@2.2.0 npm info lifecycle end-of-stream@1.4.4~preinstall: end-of-stream@1.4.4 npm info lifecycle once@1.4.0~preinstall: once@1.4.0 npm info lifecycle wrappy@1.0.2~preinstall: wrappy@1.0.2 npm info lifecycle npmlog@4.1.2~preinstall: npmlog@4.1.2 npm info lifecycle gauge@2.7.4~preinstall: gauge@2.7.4 npm info lifecycle wide-align@1.1.5~preinstall: wide-align@1.1.5 npm info lifecycle readable-stream@3.6.0~preinstall: readable-stream@3.6.0 npm timing action:preinstall Completed in 41ms npm info linkStuff ansi-regex@2.1.1 npm info linkStuff aproba@1.2.0 npm info linkStuff base64-js@1.5.1 npm info linkStuff chownr@1.1.4 npm info linkStuff code-point-at@1.1.0 npm info linkStuff color-name@1.1.4 npm info linkStuff color-convert@2.0.1 npm info linkStuff console-control-strings@1.1.0 npm info linkStuff core-util-is@1.0.3 npm info linkStuff deep-extend@0.6.0 npm info linkStuff delegates@1.0.0 npm info linkStuff detect-libc@1.0.3 npm verb linkBins [ npm verb linkBins { 'detect-libc': 'bin/detect-libc.js' }, npm verb linkBins '/Users/muhammadamad/Downloads/compression/node_modules/.bin', npm verb linkBins false npm verb linkBins ] npm info linkStuff expand-template@2.0.3 npm info linkStuff fs-constants@1.0.0 npm info linkStuff github-from-package@0.0.0 npm info linkStuff has-unicode@2.0.1 npm info linkStuff ieee754@1.2.1 npm info linkStuff buffer@5.7.1 npm info linkStuff inherits@2.0.4 npm info linkStuff ini@1.3.8 npm info linkStuff is-arrayish@0.3.2 npm info linkStuff isarray@1.0.0 npm info linkStuff mimic-response@2.1.0 npm info linkStuff decompress-response@4.2.1 npm info linkStuff minimist@1.2.5 npm info linkStuff mkdirp-classic@0.5.3 npm info linkStuff napi-build-utils@1.0.2 npm info linkStuff semver@5.7.1 npm verb linkBins [ npm verb linkBins { semver: 'bin/semver' }, npm verb linkBins '/Users/muhammadamad/Downloads/compression/node_modules/node-abi/node_modules/.bin', npm verb linkBins false npm verb linkBins ] npm info linkStuff node-abi@2.30.1 npm info linkStuff number-is-nan@1.0.1 npm info linkStuff is-fullwidth-code-point@1.0.0 npm info linkStuff object-assign@4.1.1 npm info linkStuff process-nextick-args@2.0.1 npm info linkStuff safe-buffer@5.1.2 npm info linkStuff set-blocking@2.0.0 npm info linkStuff signal-exit@3.0.5 npm info linkStuff simple-concat@1.0.1 npm info linkStuff simple-swizzle@0.2.2 npm info linkStuff color-string@1.6.0 npm info linkStuff string_decoder@1.1.1 npm info linkStuff strip-ansi@3.0.1 npm info linkStuff string-width@1.0.2 npm info linkStuff strip-json-comments@2.0.1 npm info linkStuff rc@1.2.8 npm verb linkBins [ npm verb linkBins { rc: 'cli.js' }, npm verb linkBins '/Users/muhammadamad/Downloads/compression/node_modules/.bin', npm verb linkBins false npm verb linkBins ] npm info linkStuff tunnel-agent@0.6.0 npm info linkStuff util-deprecate@1.0.2 npm info linkStuff readable-stream@3.6.0 npm info linkStuff bl@4.1.0 npm info linkStuff readable-stream@2.3.7 npm info linkStuff are-we-there-yet@1.1.7 npm info linkStuff readable-stream@3.6.0 npm info linkStuff wide-align@1.1.5 npm info linkStuff gauge@2.7.4 npm info linkStuff npmlog@4.1.2 npm info linkStuff wrappy@1.0.2 npm info linkStuff once@1.4.0 npm info linkStuff end-of-stream@1.4.4 npm info linkStuff tar-stream@2.2.0 npm info linkStuff pump@3.0.0 npm info linkStuff tar-fs@2.1.1 npm info linkStuff simple-get@3.1.0 npm info linkStuff yallist@4.0.0 npm info linkStuff lru-cache@6.0.0 npm info linkStuff color@4.0.1 npm info linkStuff node-addon-api@4.2.0 npm info linkStuff prebuild-install@6.1.4 npm verb linkBins [ npm verb linkBins { 'prebuild-install': 'bin.js' }, npm verb linkBins '/Users/muhammadamad/Downloads/compression/node_modules/.bin', npm verb linkBins false npm verb linkBins ] npm info linkStuff semver@7.3.5 npm verb linkBins [ npm verb linkBins { semver: 'bin/semver.js' }, npm verb linkBins '/Users/muhammadamad/Downloads/compression/node_modules/.bin', npm verb linkBins false npm verb linkBins ] npm info linkStuff sharp@0.29.2 npm timing action:build Completed in 97ms npm info lifecycle ansi-regex@2.1.1~install: ansi-regex@2.1.1 npm info lifecycle aproba@1.2.0~install: aproba@1.2.0 npm info lifecycle base64-js@1.5.1~install: base64-js@1.5.1 npm info lifecycle chownr@1.1.4~install: chownr@1.1.4 npm info lifecycle code-point-at@1.1.0~install: code-point-at@1.1.0 npm info lifecycle color-name@1.1.4~install: color-name@1.1.4 npm info lifecycle color-convert@2.0.1~install: color-convert@2.0.1 npm info lifecycle console-control-strings@1.1.0~install: console-control-strings@1.1.0 npm info lifecycle core-util-is@1.0.3~install: core-util-is@1.0.3 npm info lifecycle deep-extend@0.6.0~install: deep-extend@0.6.0 npm info lifecycle delegates@1.0.0~install: delegates@1.0.0 npm info lifecycle detect-libc@1.0.3~install: detect-libc@1.0.3 npm info lifecycle expand-template@2.0.3~install: expand-template@2.0.3 npm info lifecycle fs-constants@1.0.0~install: fs-constants@1.0.0 npm info lifecycle github-from-package@0.0.0~install: github-from-package@0.0.0 npm info lifecycle has-unicode@2.0.1~install: has-unicode@2.0.1 npm info lifecycle ieee754@1.2.1~install: ieee754@1.2.1 npm info lifecycle buffer@5.7.1~install: buffer@5.7.1 npm info lifecycle inherits@2.0.4~install: inherits@2.0.4 npm info lifecycle ini@1.3.8~install: ini@1.3.8 npm info lifecycle is-arrayish@0.3.2~install: is-arrayish@0.3.2 npm info lifecycle isarray@1.0.0~install: isarray@1.0.0 npm info lifecycle mimic-response@2.1.0~install: mimic-response@2.1.0 npm info lifecycle decompress-response@4.2.1~install: decompress-response@4.2.1 npm info lifecycle minimist@1.2.5~install: minimist@1.2.5 npm info lifecycle mkdirp-classic@0.5.3~install: mkdirp-classic@0.5.3 npm info lifecycle napi-build-utils@1.0.2~install: napi-build-utils@1.0.2 npm info lifecycle semver@5.7.1~install: semver@5.7.1 npm info lifecycle node-abi@2.30.1~install: node-abi@2.30.1 npm info lifecycle number-is-nan@1.0.1~install: number-is-nan@1.0.1 npm info lifecycle is-fullwidth-code-point@1.0.0~install: is-fullwidth-code-point@1.0.0 npm info lifecycle object-assign@4.1.1~install: object-assign@4.1.1 npm info lifecycle process-nextick-args@2.0.1~install: process-nextick-args@2.0.1 npm info lifecycle safe-buffer@5.1.2~install: safe-buffer@5.1.2 npm info lifecycle set-blocking@2.0.0~install: set-blocking@2.0.0 npm info lifecycle signal-exit@3.0.5~install: signal-exit@3.0.5 npm info lifecycle simple-concat@1.0.1~install: simple-concat@1.0.1 npm info lifecycle simple-swizzle@0.2.2~install: simple-swizzle@0.2.2 npm info lifecycle color-string@1.6.0~install: color-string@1.6.0 npm info lifecycle string_decoder@1.1.1~install: string_decoder@1.1.1 npm info lifecycle strip-ansi@3.0.1~install: strip-ansi@3.0.1 npm info lifecycle string-width@1.0.2~install: string-width@1.0.2 npm info lifecycle strip-json-comments@2.0.1~install: strip-json-comments@2.0.1 npm info lifecycle rc@1.2.8~install: rc@1.2.8 npm info lifecycle tunnel-agent@0.6.0~install: tunnel-agent@0.6.0 npm info lifecycle util-deprecate@1.0.2~install: util-deprecate@1.0.2 npm info lifecycle readable-stream@3.6.0~install: readable-stream@3.6.0 npm info lifecycle bl@4.1.0~install: bl@4.1.0 npm info lifecycle readable-stream@2.3.7~install: readable-stream@2.3.7 npm info lifecycle are-we-there-yet@1.1.7~install: are-we-there-yet@1.1.7 npm info lifecycle readable-stream@3.6.0~install: readable-stream@3.6.0 npm info lifecycle wide-align@1.1.5~install: wide-align@1.1.5 npm info lifecycle gauge@2.7.4~install: gauge@2.7.4 npm info lifecycle npmlog@4.1.2~install: npmlog@4.1.2 npm info lifecycle wrappy@1.0.2~install: wrappy@1.0.2 npm info lifecycle once@1.4.0~install: once@1.4.0 npm info lifecycle end-of-stream@1.4.4~install: end-of-stream@1.4.4 npm info lifecycle tar-stream@2.2.0~install: tar-stream@2.2.0 npm info lifecycle pump@3.0.0~install: pump@3.0.0 npm info lifecycle tar-fs@2.1.1~install: tar-fs@2.1.1 npm info lifecycle simple-get@3.1.0~install: simple-get@3.1.0 npm info lifecycle yallist@4.0.0~install: yallist@4.0.0 npm info lifecycle lru-cache@6.0.0~install: lru-cache@6.0.0 npm info lifecycle color@4.0.1~install: color@4.0.1 npm info lifecycle node-addon-api@4.2.0~install: node-addon-api@4.2.0 npm info lifecycle prebuild-install@6.1.4~install: prebuild-install@6.1.4 npm info lifecycle semver@7.3.5~install: semver@7.3.5 npm info lifecycle sharp@0.29.2~install: sharp@0.29.2

sharp@0.29.2 install /Users/muhammadamad/Downloads/compression/node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Detected globally-installed libvips v8.11.4 sharp: Building from source via node-gyp gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/Users/muhammadamad/.nvm/versions/node/v14.0.0/bin/node', gyp verb cli '/Users/muhammadamad/.nvm/versions/node/v14.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild' gyp verb cli ] gyp info using node-gyp@5.1.0 gyp info using node@14.0.0 | darwin | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb find Python Python is not set from command line or npm configuration gyp verb find Python Python is not set from environment variable PYTHON gyp verb find Python checking if "python" can be used gyp verb find Python - executing "python" to get executable path gyp verb find Python - executable path is "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python" gyp verb find Python - executing "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python" to get version gyp verb find Python - version is "2.7.16" gyp info find Python using Python version 2.7.16 found at "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python" gyp verb get node dir no --target version specified, falling back to host node version: 14.0.0 gyp verb command install [ '14.0.0' ] gyp verb install input version string "14.0.0" gyp verb install installing version: 14.0.0 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version is already installed, need to check "installVersion" gyp verb got "installVersion" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 14.0.0 gyp verb build dir attempting to create "build" dir: /Users/muhammadamad/Downloads/compression/node_modules/sharp/build gyp verb build dir "build" dir needed to be created? /Users/muhammadamad/Downloads/compression/node_modules/sharp/build gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: /Users/muhammadamad/Downloads/compression/node_modules/sharp/build/config.gypi gyp verb config.gypi checking for gypi file: /Users/muhammadamad/Downloads/compression/node_modules/sharp/config.gypi gyp verb common.gypi checking for gypi file: /Users/muhammadamad/Downloads/compression/node_modules/sharp/common.gypi gyp verb gyp gyp format was not specified; forcing "make" gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python gyp info spawn args [ gyp info spawn args '/Users/muhammadamad/.nvm/versions/node/v14.0.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/muhammadamad/Downloads/compression/node_modules/sharp/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/muhammadamad/.nvm/versions/node/v14.0.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/muhammadamad/Library/Caches/node-gyp/14.0.0', gyp info spawn args '-Dnode_gyp_dir=/Users/muhammadamad/.nvm/versions/node/v14.0.0/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/muhammadamad/Downloads/compression/node_modules/sharp', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp verb command build [] gyp verb build type Release gyp verb architecture x64 gyp verb node dev dir /Users/muhammadamad/Library/Caches/node-gyp/14.0.0 gyp verb which succeeded for make /usr/bin/make gyp info spawn make gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ] cc '-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_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.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 -o Release/obj.target/nothing/../node-addon-api/nothing.o ../../node-addon-api/nothing.c 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 warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols) touch Release/obj.target/libvips-cpp.stamp c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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 -o Release/obj.target/sharp-darwin-x64/src/common.o ../src/common.cc c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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/metadata.o.d.raw -c -o Release/obj.target/sharp-darwin-x64/src/metadata.o ../src/metadata.cc c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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/stats.o.d.raw -c -o Release/obj.target/sharp-darwin-x64/src/stats.o ../src/stats.cc c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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/operations.o.d.raw -c -o Release/obj.target/sharp-darwin-x64/src/operations.o ../src/operations.cc c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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/pipeline.o.d.raw -c -o Release/obj.target/sharp-darwin-x64/src/pipeline.o ../src/pipeline.cc c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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/utilities.o.d.raw -c -o Release/obj.target/sharp-darwin-x64/src/utilities.o ../src/utilities.cc c++ '-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_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/muhammadamad/Library/Caches/node-gyp/14.0.0/include/node -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/src -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/config -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/openssl/openssl/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/uv/include -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/zlib -I/Users/muhammadamad/Library/Caches/node-gyp/14.0.0/deps/v8/include -I../../node-addon-api -I/usr/local/Cellar/libffi/3.4.2/include -I/usr/local/include -I/usr/local/Cellar/libgsf/1.14.47/include/libgsf-1 -I/usr/local/Cellar/fftw/3.3.10/include -I/usr/local/Cellar/orc/0.4.32/include/orc-0.4 -I/usr/local/Cellar/little-cms2/2.12/include -I/usr/local/Cellar/openexr/3.1.3/include -I/usr/local/Cellar/openexr/3.1.3/include/OpenEXR -I/usr/local/Cellar/imath/3.1.3/include -I/usr/local/Cellar/imath/3.1.3/include/Imath -I/usr/local/Cellar/openjpeg/2.4.0/include/openjpeg-2.4 -I/usr/local/Cellar/libheif/1.12.0/include -I/usr/local/Cellar/aom/3.2.0_2/include -I/usr/local/Cellar/libvmaf/2.3.0/include -I/usr/local/Cellar/libvmaf/2.3.0/include/libvmaf -I/usr/local/Cellar/jpeg-xl/0.6.1/include -I/usr/local/Cellar/brotli/1.0.9/include -I/usr/local/Cellar/libde265/1.0.8/include -I/usr/local/Cellar/x265/3.5/include -I/usr/local/Cellar/poppler/21.11.0/include/poppler/glib -I/usr/local/Cellar/poppler/21.11.0/include/poppler -I/usr/local/Cellar/librsvg/2.50.7/include/librsvg-2.0 -I/usr/local/Cellar/gdk-pixbuf/2.42.6/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.37/include/libpng16 -I/usr/local/Cellar/openslide/3.4.1_5/include/openslide -I/usr/local/Cellar/libmatio/1.5.21_1/include -I/usr/local/opt/hdf5/include -I/usr/include -I/usr/local/Cellar/cfitsio/4.0.0/include -I/usr/local/Cellar/webp/1.2.1_1/include -I/usr/local/Cellar/pango/1.48.10/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/3.1.0/include/harfbuzz -I/usr/local/Cellar/glib/2.70.1/include -I/usr/local/Cellar/fribidi/1.0.11/include/fribidi -I/usr/local/Cellar/graphite2/1.3.14/include -I/usr/local/Cellar/cairo/1.16.0_5/include/cairo -I/usr/local/Cellar/pixman/0.40.0/include/pixman-1 -I/usr/local/Cellar/libxcb/1.14_1/include -I/usr/local/Cellar/libxrender/0.9.10/include -I/usr/local/Cellar/libxext/1.3.4/include -I/usr/local/Cellar/libx11/1.7.2/include -I/usr/local/Cellar/libxau/1.0.9/include -I/usr/local/Cellar/libxdmcp/1.1.3/include -I/usr/local/Cellar/fontconfig/2.13.1/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libtiff/4.3.0/include -I/usr/local/Cellar/libspng/0.7.0/include -I/usr/local/Cellar/libimagequant/2.16.0/include -I/usr/local/Cellar/jpeg/9d/include -I/usr/local/Cellar/libexif/0.6.23/include -I/usr/local/Cellar/glib/2.70.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.70.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/xorgproto/2021.5/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/sharp.o.d.raw -c -o Release/obj.target/sharp-darwin-x64/src/sharp.o ../src/sharp.cc c++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=10.9 -arch x86_64 -L./Release -stdlib=libc++ -o Release/sharp-darwin-x64.node Release/obj.target/sharp-darwin-x64/src/common.o Release/obj.target/sharp-darwin-x64/src/metadata.o Release/obj.target/sharp-darwin-x64/src/stats.o Release/obj.target/sharp-darwin-x64/src/operations.o Release/obj.target/sharp-darwin-x64/src/pipeline.o Release/obj.target/sharp-darwin-x64/src/utilities.o Release/obj.target/sharp-darwin-x64/src/sharp.o Release/nothing.a -L/usr/local/lib -L/usr/local/Cellar/glib/2.70.1/lib -L/usr/local/opt/gettext/lib -lvips-cpp -lvips -lgobject-2.0 -lglib-2.0 -lintl ld: warning: dylib (/usr/local/lib/libvips-cpp.dylib) was built for newer macOS version (10.15) than being linked (10.9) ld: warning: dylib (/usr/local/lib/libvips.dylib) was built for newer macOS version (10.15) than being linked (10.9) ld: warning: dylib (/usr/local/lib/libgobject-2.0.dylib) was built for newer macOS version (10.15) than being linked (10.9) ld: warning: dylib (/usr/local/lib/libglib-2.0.dylib) was built for newer macOS version (10.15) than being linked (10.9) ld: warning: dylib (/usr/local/lib/libintl.dylib) was built for newer macOS version (10.15) than being linked (10.9) gyp info ok npm verb lifecycle sharp@0.29.2~install: unsafe-perm in lifecycle true npm verb lifecycle sharp@0.29.2~install: PATH: /Users/muhammadamad/.nvm/versions/node/v14.0.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/muhammadamad/Downloads/compression/node_modules/sharp/node_modules/.bin:/Users/muhammadamad/Downloads/compression/node_modules/.bin:/Users/muhammadamad/.nvm/versions/node/v14.0.0/bin:/Users/muhammadamad/.nvm/versions/node/v12.19.0/bin:/Users/muhammadamad/.rvm/gems/ruby-2.5.1/bin:/Users/muhammadamad/.rvm/gems/ruby-2.5.1@global/bin:/Users/muhammadamad/.rvm/rubies/ruby-2.5.1/bin:/usr/local/opt/heroku-node/bin:/usr/local/opt/heroku-node/bin:/Users/muhammadamad/Documents/react/pics/Documents/google-cloud-sdk/bin:~/flutter/bin:/usr/local/opt/postgresql@11/bin:/usr/local/opt/php@7.3/sbin:/usr/local/opt/php@7.3/bin:/Users/muhammadamad/.nvm/versions/node/v11.15.0/bin:/usr/local/bin/rubocop-daemon-wrapper:/usr/local/php5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/muhammadamad/Library/Android/sdk/build-tools/29.0.3/zipalign:/Users/muhammadamad/flutter/bin:/Library/Apple/usr/bin:/Applications/Postgres.app/Contents/Versions/11/bin:/Users/muhammadamad/Library/Application Support/cloud-code/installer/google-cloud-sdk/bin:/Users/muhammadamad/.rvm/gems/ruby-2.5.1/bin:/Users/muhammadamad/.rvm/gems/ruby-2.5.1@global/bin:/Users/muhammadamad/.rvm/rubies/ruby-2.5.1/bin:/usr/local/opt/heroku-node/bin:/Users/muhammadamad/Documents/react/pics/Documents/google-cloud-sdk/bin:~/flutter/bin:/usr/local/opt/postgresql@11/bin:/usr/local/opt/php@7.3/sbin:/usr/local/opt/php@7.3/bin:/Users/muhammadamad/.nvm/versions/node/v14.0.0/bin:/usr/local/bin/rubocop-daemon-wrapper:/Users/muhammadamad/.rvm/bin:~/flutter/bin npm verb lifecycle sharp@0.29.2~install: CWD: /Users/muhammadamad/Downloads/compression/node_modules/sharp npm timing audit submit Completed in 791ms npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 791ms npm timing audit body Completed in 0ms npm timing action:install Completed in 29975ms npm info lifecycle ansi-regex@2.1.1~postinstall: ansi-regex@2.1.1 npm info lifecycle aproba@1.2.0~postinstall: aproba@1.2.0 npm info lifecycle base64-js@1.5.1~postinstall: base64-js@1.5.1 npm info lifecycle chownr@1.1.4~postinstall: chownr@1.1.4 npm info lifecycle code-point-at@1.1.0~postinstall: code-point-at@1.1.0 npm info lifecycle color-name@1.1.4~postinstall: color-name@1.1.4 npm info lifecycle color-convert@2.0.1~postinstall: color-convert@2.0.1 npm info lifecycle console-control-strings@1.1.0~postinstall: console-control-strings@1.1.0 npm info lifecycle core-util-is@1.0.3~postinstall: core-util-is@1.0.3 npm info lifecycle deep-extend@0.6.0~postinstall: deep-extend@0.6.0 npm info lifecycle delegates@1.0.0~postinstall: delegates@1.0.0 npm info lifecycle detect-libc@1.0.3~postinstall: detect-libc@1.0.3 npm info lifecycle expand-template@2.0.3~postinstall: expand-template@2.0.3 npm info lifecycle fs-constants@1.0.0~postinstall: fs-constants@1.0.0 npm info lifecycle github-from-package@0.0.0~postinstall: github-from-package@0.0.0 npm info lifecycle has-unicode@2.0.1~postinstall: has-unicode@2.0.1 npm info lifecycle ieee754@1.2.1~postinstall: ieee754@1.2.1 npm info lifecycle buffer@5.7.1~postinstall: buffer@5.7.1 npm info lifecycle inherits@2.0.4~postinstall: inherits@2.0.4 npm info lifecycle ini@1.3.8~postinstall: ini@1.3.8 npm info lifecycle is-arrayish@0.3.2~postinstall: is-arrayish@0.3.2 npm info lifecycle isarray@1.0.0~postinstall: isarray@1.0.0 npm info lifecycle mimic-response@2.1.0~postinstall: mimic-response@2.1.0 npm info lifecycle decompress-response@4.2.1~postinstall: decompress-response@4.2.1 npm info lifecycle minimist@1.2.5~postinstall: minimist@1.2.5 npm info lifecycle mkdirp-classic@0.5.3~postinstall: mkdirp-classic@0.5.3 npm info lifecycle napi-build-utils@1.0.2~postinstall: napi-build-utils@1.0.2 npm info lifecycle semver@5.7.1~postinstall: semver@5.7.1 npm info lifecycle node-abi@2.30.1~postinstall: node-abi@2.30.1 npm info lifecycle number-is-nan@1.0.1~postinstall: number-is-nan@1.0.1 npm info lifecycle is-fullwidth-code-point@1.0.0~postinstall: is-fullwidth-code-point@1.0.0 npm info lifecycle object-assign@4.1.1~postinstall: object-assign@4.1.1 npm info lifecycle process-nextick-args@2.0.1~postinstall: process-nextick-args@2.0.1 npm info lifecycle safe-buffer@5.1.2~postinstall: safe-buffer@5.1.2 npm info lifecycle set-blocking@2.0.0~postinstall: set-blocking@2.0.0 npm info lifecycle signal-exit@3.0.5~postinstall: signal-exit@3.0.5 npm info lifecycle simple-concat@1.0.1~postinstall: simple-concat@1.0.1 npm info lifecycle simple-swizzle@0.2.2~postinstall: simple-swizzle@0.2.2 npm info lifecycle color-string@1.6.0~postinstall: color-string@1.6.0 npm info lifecycle string_decoder@1.1.1~postinstall: string_decoder@1.1.1 npm info lifecycle strip-ansi@3.0.1~postinstall: strip-ansi@3.0.1 npm info lifecycle string-width@1.0.2~postinstall: string-width@1.0.2 npm info lifecycle strip-json-comments@2.0.1~postinstall: strip-json-comments@2.0.1 npm info lifecycle rc@1.2.8~postinstall: rc@1.2.8 npm info lifecycle tunnel-agent@0.6.0~postinstall: tunnel-agent@0.6.0 npm info lifecycle util-deprecate@1.0.2~postinstall: util-deprecate@1.0.2 npm info lifecycle readable-stream@3.6.0~postinstall: readable-stream@3.6.0 npm info lifecycle bl@4.1.0~postinstall: bl@4.1.0 npm info lifecycle readable-stream@2.3.7~postinstall: readable-stream@2.3.7 npm info lifecycle are-we-there-yet@1.1.7~postinstall: are-we-there-yet@1.1.7 npm info lifecycle readable-stream@3.6.0~postinstall: readable-stream@3.6.0 npm info lifecycle wide-align@1.1.5~postinstall: wide-align@1.1.5 npm info lifecycle gauge@2.7.4~postinstall: gauge@2.7.4 npm info lifecycle npmlog@4.1.2~postinstall: npmlog@4.1.2 npm info lifecycle wrappy@1.0.2~postinstall: wrappy@1.0.2 npm info lifecycle once@1.4.0~postinstall: once@1.4.0 npm info lifecycle end-of-stream@1.4.4~postinstall: end-of-stream@1.4.4 npm info lifecycle tar-stream@2.2.0~postinstall: tar-stream@2.2.0 npm info lifecycle pump@3.0.0~postinstall: pump@3.0.0 npm info lifecycle tar-fs@2.1.1~postinstall: tar-fs@2.1.1 npm info lifecycle simple-get@3.1.0~postinstall: simple-get@3.1.0 npm info lifecycle yallist@4.0.0~postinstall: yallist@4.0.0 npm info lifecycle lru-cache@6.0.0~postinstall: lru-cache@6.0.0 npm info lifecycle color@4.0.1~postinstall: color@4.0.1 npm info lifecycle node-addon-api@4.2.0~postinstall: node-addon-api@4.2.0 npm info lifecycle prebuild-install@6.1.4~postinstall: prebuild-install@6.1.4 npm info lifecycle semver@7.3.5~postinstall: semver@7.3.5 npm info lifecycle sharp@0.29.2~postinstall: sharp@0.29.2 npm timing action:postinstall Completed in 22ms npm verb unlock done using /Users/muhammadamad/.npm/_locks/staging-43dbd66c0103e939.lock for /Users/muhammadamad/Downloads/compression/node_modules/.staging npm timing stage:executeActions Completed in 30712ms npm timing stage:rollbackFailedOptional Completed in 0ms npm timing stage:runTopLevelLifecycles Completed in 38394ms npm verb saving [ { name: 'sharp', spec: '^0.29.2', save: 'dependencies' } ] npm verb shrinkwrap skipping write for package.json because there were no changes. npm info lifecycle undefined~preshrinkwrap: undefined npm info lifecycle undefined~shrinkwrap: undefined npm notice created a lockfile as package-lock.json. You should commit this file. npm info lifecycle undefined~postshrinkwrap: undefined

6 packages are looking for funding run npm fund for details

found 0 vulnerabilities

npm verb exit [ 0, true ] npm timing npm Completed in 38780ms npm info ok

lovell commented 3 years ago

Please see #2871 and possibly https://github.com/lovell/sharp/issues/2000#issuecomment-756162296

abidzafar commented 3 years ago

It is not the the patent-encumbered HEIC format. But let me try the other solution.

abidzafar commented 3 years ago

@lovell - I managed a ubuntu machine. Is there a way to get the proper sharp build for AWS lambda having arch=x64 and platform=linux with global libvips as when I run npm install for now it is getting the cached one on ubuntu similarly it was on macOS. The other solution of layer, I want to avoid that one, because what I'm doing is pushing a zip with node_modules folder inside it for a lambda function and I want to keep that methodology for few reasons. So if you can help me on building from the local and get the proper build deployed on AWS lambda?

lovell commented 3 years ago

As suggested in #2000, I recommend you use https://github.com/zoellner/sharp-heic-lambda-layer if you need support for HEIC in Lambda as its maintainers have done the hard work for you.