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.36k stars 1.3k forks source link

Installation fails when trying to install as a dependency with global libvips on macOS #4187

Closed ys-chung closed 3 months ago

ys-chung commented 3 months ago

Hello,

On macOS, when installing as a dependency with global libvips, it fails. However, if I clone this repo and run npm install then npm run install, it builds successfully.

I've also tried creating a clean macOS VM, only installing Xcode cli tools, homebrew, vips, node, and then try to install it in a empty directory with the SHARP_FORCE_GLOBAL_LIBVIPS environment variable. However, it still fails.

I'd appreciate any help, thank you πŸ™

Logs when running npm run install in this repo

``` user@users-Virtual-Machine sharp % npm run install > sharp@0.33.4 install > node install/check sharp: Detected globally-installed libvips v8.15.2 sharp: Attempting to build from source via node-gyp sharp: Found node-addon-api 8.1.0 sharp: Found node-gyp 10.2.0 sharp: See https://sharp.pixelplumbing.com/install#building-from-source gyp info it worked if it ends with ok gyp info using node-gyp@10.2.0 gyp info using node@22.5.1 | darwin | arm64 gyp info chdir src gyp info find Python using Python version 3.12.4 found at "/opt/homebrew/opt/python@3.12/bin/python3.12" gyp info spawn /opt/homebrew/opt/python@3.12/bin/python3.12 gyp info spawn args [ gyp info spawn args '/Users/user/sharp/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/user/sharp/src/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/user/sharp/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/user/Library/Caches/node-gyp/22.5.1/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/user/Library/Caches/node-gyp/22.5.1', gyp info spawn args '-Dnode_gyp_dir=/Users/user/sharp/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/user/Library/Caches/node-gyp/22.5.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/user/sharp/src', 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 ] :114: SyntaxWarning: invalid escape sequence '\/' gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CC(target) Release/obj.target/nothing/../node_modules/node-addon-api/nothing.o LIBTOOL-STATIC Release/nothing.a warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols) TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp-darwin-arm64/common.o CXX(target) Release/obj.target/sharp-darwin-arm64/metadata.o CXX(target) Release/obj.target/sharp-darwin-arm64/stats.o CXX(target) Release/obj.target/sharp-darwin-arm64/operations.o CXX(target) Release/obj.target/sharp-darwin-arm64/pipeline.o CXX(target) Release/obj.target/sharp-darwin-arm64/utilities.o CXX(target) Release/obj.target/sharp-darwin-arm64/sharp.o SOLINK_MODULE(target) Release/sharp-darwin-arm64.node TOUCH Release/obj.target/copy-dll.stamp gyp info ok user@users-Virtual-Machine sharp % ```

Possible install-time or require-time problem

You must confirm both of these before continuing.

Are you using the latest version of sharp?

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.

Are you using a supported runtime?

If you cannot confirm any of these, please upgrade to the latest version and try again before opening an issue.

Are you using a supported package manager and installing optional dependencies?

If you cannot confirm any of these, please upgrade to the latest version of your chosen package manager and ensure you are allowing the installation of optional or multi-platform dependencies before opening an issue.

What is the complete error message, including the full stack trace?

user@users-Virtual-Machine sharp-test % SHARP_FORCE_GLOBAL_LIBVIPS=true npm install --verbose --build-from-source sharp
npm verbose cli /opt/homebrew/Cellar/node/22.5.1/bin/node /opt/homebrew/bin/npm
npm info using npm@10.8.2
npm info using node@v22.5.1
npm verbose title npm install sharp
npm verbose argv "install" "--loglevel" "verbose" "--build-from-source" "sharp"
npm verbose logfile logs-max:10 dir:/Users/user/.npm/_logs/2024-08-08T15_29_08_756Z-
npm verbose logfile /Users/user/.npm/_logs/2024-08-08T15_29_08_756Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/sharp 91ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color 47ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-darwin-arm64 110ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-darwin-x64 135ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-darwin-x64 93ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-darwin-arm64 146ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm 104ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm64 107ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-s390x 104ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-x64 117ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linuxmusl-arm64 82ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-arm 78ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linuxmusl-x64 87ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-arm64 85ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-s390x 81ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-x64 76ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linuxmusl-arm64 92ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-wasm32 98ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linuxmusl-x64 135ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-win32-ia32 104ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-win32-x64 91ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 843ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-string 51ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@emnapi%2fruntime 1246ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tslib 50ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 41ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 34ms (cache miss)
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-win32-x64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-win32-ia32
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-wasm32
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@emnapi/runtime
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/tslib
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linuxmusl-x64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linuxmusl-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-x64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-s390x
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-arm
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linuxmusl-x64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linuxmusl-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-x64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-s390x
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-arm
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-darwin-x64
npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-darwin-x64
npm http fetch GET 200 https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz 40ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz 42ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz 60ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz 61ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz 62ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color/-/color-4.2.3.tgz 63ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/sharp/-/sharp-0.33.4.tgz 96ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.2.0.tgz 160ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.2.tgz 369ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.4.tgz 748ms (cache miss)
npm info run sharp@0.33.4 install node_modules/sharp node install/check
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 981ms
npm info run sharp@0.33.4 install { code: 1, signal: null }
npm verbose stack Error: command failed
npm verbose stack     at promiseSpawn (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
npm verbose stack     at spawnWithShell (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
npm verbose stack     at promiseSpawn (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
npm verbose stack     at runScriptPkg (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
npm verbose stack     at runScript (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
npm verbose stack     at /opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
npm verbose stack     at run (/opt/homebrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
npm verbose stack     at /opt/homebrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
npm verbose stack     at new Promise (<anonymous>)
npm verbose stack     at callLimit (/opt/homebrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
npm verbose pkgid sharp@0.33.4
npm error code 1
npm error path /Users/user/sharp-test/node_modules/sharp
npm error command failed
npm error command sh -c node install/check
npm error sharp: Detected SHARP_FORCE_GLOBAL_LIBVIPS, skipping search for globally-installed libvips
npm error sharp: Detected globally-installed libvips v8.15.2
npm error sharp: Attempting to build from source via node-gyp
npm error sharp: Found node-addon-api 8.1.0
npm error sharp: Found node-gyp version 10.2.0
npm error sharp: See https://sharp.pixelplumbing.com/install#building-from-source
npm error
npm error   cc -o Release/obj.target/nothing/../../node-addon-api/nothing.o ../../../node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=11.0 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/nothing/../../node-addon-api/nothing.o.d.raw   -c
npm error   rm -f Release/nothing.a && ./gyp-mac-tool filter-libtool libtool  -static -o Release/nothing.a Release/obj.target/nothing/../../node-addon-api/nothing.o
npm error   touch Release/obj.target/libvips-cpp.stamp
npm error   c++ -o Release/obj.target/sharp-darwin-arm64/common.o ../common.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I../. -I/glib-2.0 -I/Users/user/sharp-test/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/common.o.d.raw   -c
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli '/opt/homebrew/Cellar/node/22.5.1/bin/node',
npm error gyp verb cli '/Users/user/sharp-test/node_modules/.bin/node-gyp',
npm error gyp verb cli 'rebuild',
npm error gyp verb cli '--directory=src'
npm error gyp verb cli ]
npm error gyp info using node-gyp@10.2.0
npm error gyp info using node@22.5.1 | darwin | arm64
npm error gyp info chdir src
npm error gyp verb clean removing "build" directory
npm error gyp verb find Python Python is not set from command line or npm configuration
npm error gyp verb find Python Python is not set from environment variable PYTHON
npm error gyp verb find Python checking if "python3" can be used
npm error gyp verb find Python - executing "python3" to get executable path
npm error gyp verb find Python - executable path is "/opt/homebrew/opt/python@3.12/bin/python3.12"
npm error gyp verb find Python - executing "/opt/homebrew/opt/python@3.12/bin/python3.12" to get version
npm error gyp verb find Python - version is "3.12.4"
npm error gyp info find Python using Python version 3.12.4 found at "/opt/homebrew/opt/python@3.12/bin/python3.12"
npm error gyp verb get node dir no --target version specified, falling back to host node version: 22.5.1
npm error gyp verb install input version string "22.5.1"
npm error gyp verb install installing version: 22.5.1
npm error gyp verb install --ensure was passed, so won't reinstall if already installed
npm error gyp verb install version not already installed, continuing with install 22.5.1
npm error gyp verb ensuring devDir is created /Users/user/Library/Caches/node-gyp/22.5.1
npm error gyp verb created devDir /Users/user/Library/Caches/node-gyp
npm error gyp http GET https://nodejs.org/download/release/v22.5.1/node-v22.5.1-headers.tar.gz
npm error gyp http 200 https://nodejs.org/download/release/v22.5.1/node-v22.5.1-headers.tar.gz
npm error gyp verb extracted file from tarball node-v22.5.1/include/node/v8-platform.h
... [truncated to fit in github's character limit]
npm error gyp verb extracted file from tarball node-v22.5.1/include/node/v8-value-serializer.h
npm error gyp verb tarball done parsing tarball
npm error gyp verb check download content checksum, need to download `SHASUMS256.txt`... 
npm error gyp verb checksum url https://nodejs.org/download/release/v22.5.1/SHASUMS256.txt
npm error gyp http GET https://nodejs.org/download/release/v22.5.1/SHASUMS256.txt
npm error gyp http 200 https://nodejs.org/download/release/v22.5.1/SHASUMS256.txt
npm error gyp verb checksum data {"node-v22.5.1-aix-ppc64.tar.gz":"48557f896cb790ab505ae8f5554c1f85dbcf2f932ee3532aeae749ff983a996a","node-v22.5.1-arm64.msi":"c49a7a51492786b59ae0353ef5f59612b6dd28988421d98ed91340428bddd525","node-v22.5.1-darwin-arm64.tar.gz":"7602384855f1e169b60e51c360e5a2c672b89a19ccda0199ce4675d68fefaaf2","node-v22.5.1-darwin-arm64.tar.xz":"5b519d0b297b1cf02926dcf4c4753b8c42b0862ce74c9cb9fe958fa5517bb7c9","node-v22.5.1-darwin-x64.tar.gz":"6acb4533bc0a43a468f90bbd49230aa16c7c57b2a3451efe02175feea346754d","node-v22.5.1-darwin-x64.tar.xz":"ef81ee849caef087a1bff261954d31e66d666949cf5ea6288f6644037ffe15f1","node-v22.5.1-headers.tar.gz":"c01f304130da4d1335df0ded861e482f315f28d470bb5607a693a24666fc9718","node-v22.5.1-headers.tar.xz":"3c9c5ce61b8f2ce09baeafdfc3df4d9d90421bd8cf5e07f6cd54ffeb9e4251c7","node-v22.5.1-linux-arm64.tar.gz":"8dfaf4b2ce3c639771f6be7001bac81ece0eea3cd6668666c00100bf175a14ee","node-v22.5.1-linux-arm64.tar.xz":"8b88f7fb681d95f8a2ecb7cf87f2cefa6769d3e74ff7309806bf201816e7c136","node-v22.5.1-linux-armv7l.tar.gz":"f9a8f033e5fc8283de1cbea44cb55af08e89495f190ceffb165b11b4c85d22be","node-v22.5.1-linux-armv7l.tar.xz":"54f381ab9bd06b810902864e57b1582b12539c51e45789c57664b14523114137","node-v22.5.1-linux-ppc64le.tar.gz":"ae771855e9e9604b2cda3017142ed534f7e8952cb3e97116080a0f4b2abe9273","node-v22.5.1-linux-ppc64le.tar.xz":"8fb4da9dc3d59720910a348958a83b8f5f057498f415e8fb2156c5f86137e2f4","node-v22.5.1-linux-s390x.tar.gz":"9ca83ac9bac853b67d651e0f88a06e713514ed31ffb833eb899c7b3d05b07794","node-v22.5.1-linux-s390x.tar.xz":"7074a6e0f0437fc4494a664bf8f724ea24ea68414cf400441e11b4f37c303bc6","node-v22.5.1-linux-x64.tar.gz":"2a7b8b8aa5c739ae55233d59f78736911a8a5da5ea1c63f0e843da270d039499","node-v22.5.1-linux-x64.tar.xz":"9d4747dbbc1a91b1324f43c77e13eeddc4d4c54685665540cd7b7ad82e1b2fbc","node-v22.5.1.pkg":"230a13f342b19023e9a77670db6f8e3dcde252194e31be785f3c177331b32c8d","node-v22.5.1.tar.gz":"4a1b383f6036def4bb183f18e71a10b58784db269f9953618418bbaf47692972","node-v22.5.1.tar.xz":"924f381a32cf26b6bedbe95feedde348450f4fd321283d3bf3f7965aa45ce831","node-v22.5.1-win-arm64.7z":"1f94462762068ca4ebaea01590cf7957b4f4c30781b2ad9d036338011bfcfd9d","node-v22.5.1-win-arm64.zip":"0eb0eeeca2465877f7ed15605d0e5fb778cfa35de16f9963e71c0e3aa85b8c29","node-v22.5.1-win-x64.7z":"8ddb106dacd15a1613c2710f17cc2f3dbf390fdf6179a95cf527721f8975a4cb","node-v22.5.1-win-x64.zip":"71b74712aa5c6587c428b39d9ec9aa013bfcfa38a2a0ed8e68b3922dda1b69f4","node-v22.5.1-win-x86.7z":"c28433719ad23e9514694c752654163785a123da770c084d6ab98fadee2ce54f","node-v22.5.1-win-x86.zip":"b7e0fa9acdcfc10662a1be16363b57a86a555ecdc822e31b95133e2c19324988","node-v22.5.1-x64.msi":"c86df5e925f8d3f492a8a7b62a2a972271a9f718e6595a679f001f312f53863e","node-v22.5.1-x86.msi":"f8a9425c5d837ae14f939225a873c4afb075785ca8787548fc44c2ab0caeeb68","win-arm64/node.exe":"8f0855f74cf85797ed4b8d6c8fa9452d3dc70ee28945135f98137c038e72180d","win-arm64/node.lib":"30e63a6726cda6539eeb37c311adf915bccd5c1462723b97a6c07ac91e8ae728","win-arm64/node_pdb.7z":"538470312f6c886112d38697ac647449e614453f8487360c8d4232f0671d1c91","win-arm64/node_pdb.zip":"c783f5f29a7dbd7b88b455936b9f8cb9060652f2f46544aa4e8e1c67faf4de36","win-x64/node.exe":"c8d7b7260fa0659580362267e0634707cce855c6af7fef9a082bf03d6b9f19fd","win-x64/node.lib":"c4d08d45267da3625a30730bf5c8e41518f25d9809179feb267f1b393f5c5f05","win-x64/node_pdb.7z":"a8d6e7c08cac1407ab0f80612b67896ee6b645b00c40be7ee0ef12b7ee325174","win-x64/node_pdb.zip":"50f64ff12a188afd12e81650541ebe598e4da568c5a2c5940549189a8ef276f5","win-x86/node.exe":"f3ce11a330281e8dcd4e1501463dab55a683046a68027518df3ed785d1d94b7a","win-x86/node.lib":"fc3bf3c1e561da1e1c152be9aa5ed1bce8d263a5124841a4ba41ebc37c727f3e","win-x86/node_pdb.7z":"b5ab926ec26d8799fc1e7b590ceb887fd590f26639a57859260af9f953d2ed75","win-x86/node_pdb.zip":"2760619d70bbf076b731d1696b02d10adbdb138c3bf4f9bf330a18bf2b59c500"}
npm error gyp verb download contents checksum {"node-v22.5.1-headers.tar.gz":"c01f304130da4d1335df0ded861e482f315f28d470bb5607a693a24666fc9718"}
npm error gyp verb validating download checksum for node-v22.5.1-headers.tar.gz (c01f304130da4d1335df0ded861e482f315f28d470bb5607a693a24666fc9718 == c01f304130da4d1335df0ded861e482f315f28d470bb5607a693a24666fc9718)
npm error gyp verb get node dir target node version installed: 22.5.1
npm error gyp verb build dir attempting to create "build" dir: /Users/user/sharp-test/node_modules/sharp/src/build
npm error gyp verb build dir "build" dir needed to be created? Yes
npm error gyp verb build/config.gypi creating config file
npm error gyp verb build/config.gypi writing out config file: /Users/user/sharp-test/node_modules/sharp/src/build/config.gypi
npm error gyp verb config.gypi checking for gypi file: /Users/user/sharp-test/node_modules/sharp/src/config.gypi
npm error gyp verb common.gypi checking for gypi file: /Users/user/sharp-test/node_modules/sharp/src/common.gypi
npm error gyp verb gyp gyp format was not specified; forcing "make"
npm error gyp info spawn /opt/homebrew/opt/python@3.12/bin/python3.12
npm error gyp info spawn args [
npm error gyp info spawn args '/Users/user/sharp-test/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/user/sharp-test/node_modules/sharp/src/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/user/sharp-test/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/user/Library/Caches/node-gyp/22.5.1/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/Users/user/Library/Caches/node-gyp/22.5.1',
npm error gyp info spawn args '-Dnode_gyp_dir=/Users/user/sharp-test/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/Users/user/Library/Caches/node-gyp/22.5.1/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/Users/user/sharp-test/node_modules/sharp/src',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error <string>:114: SyntaxWarning: invalid escape sequence '\/'
npm error gyp verb build type Release
npm error gyp verb architecture arm64
npm error gyp verb node dev dir /Users/user/Library/Caches/node-gyp/22.5.1
npm error gyp verb python /opt/homebrew/opt/python@3.12/bin/python3.12
npm error gyp verb `which` succeeded for `make` /usr/bin/make
npm error gyp verb bin symlinks created symlink to "/opt/homebrew/opt/python@3.12/bin/python3.12" in "/Users/user/sharp-test/node_modules/sharp/src/build/node_gyp_bins" and added to PATH
npm error gyp info spawn make
npm error gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
npm error warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
npm error ../common.cc:13:10: fatal error: 'vips/vips8' file not found
npm error #include <vips/vips8>
npm error          ^~~~~~~~~~~~
npm error 1 error generated.
npm error make: *** [Release/obj.target/sharp-darwin-arm64/common.o] Error 1
npm error gyp ERR! build error 
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/Users/user/sharp-test/node_modules/node-gyp/lib/build.js:216:23)
npm error gyp ERR! System Darwin 23.6.0
npm error gyp ERR! command "/opt/homebrew/Cellar/node/22.5.1/bin/node" "/Users/user/sharp-test/node_modules/.bin/node-gyp" "rebuild" "--directory=src"
npm error gyp ERR! cwd /Users/user/sharp-test/node_modules/sharp/src
npm error gyp ERR! node -v v22.5.1
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok
npm verbose cwd /Users/user/sharp-test
npm verbose os Darwin 23.6.0
npm verbose node v22.5.1
npm verbose npm  v10.8.2
npm verbose exit 1
npm verbose code 1

What is the complete output of running npm install --verbose --foreground-scripts sharp in an empty directory?

``` user@users-Virtual-Machine sharp-test % npm install --verbose --foreground-scripts sharp npm verbose cli /opt/homebrew/Cellar/node/22.5.1/bin/node /opt/homebrew/bin/npm npm info using npm@10.8.2 npm info using node@v22.5.1 npm verbose title npm install sharp npm verbose argv "install" "--loglevel" "verbose" "--foreground-scripts" "sharp" npm verbose logfile logs-max:10 dir:/Users/user/.npm/_logs/2024-08-08T15_40_20_362Z- npm verbose logfile /Users/user/.npm/_logs/2024-08-08T15_40_20_362Z-debug-0.log npm http fetch GET 200 https://registry.npmjs.org/sharp 6ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/color 16ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/detect-libc 18ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-darwin-x64 18ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-darwin-arm64 19ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-darwin-x64 4ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm 5ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-darwin-arm64 7ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm64 6ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-x64 5ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-s390x 5ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linuxmusl-arm64 5ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linuxmusl-x64 4ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-arm64 3ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-arm 4ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-s390x 4ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-x64 4ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linuxmusl-x64 4ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linuxmusl-arm64 6ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-win32-ia32 8ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-wasm32 8ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-win32-x64 5ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/semver 96ms (cache revalidated) npm http fetch GET 200 https://registry.npmjs.org/color-string 1ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/@emnapi%2fruntime 5ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/color-convert 56ms (cache revalidated) npm http fetch GET 200 https://registry.npmjs.org/tslib 1ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 3ms (cache hit) npm http fetch GET 200 https://registry.npmjs.org/color-name 50ms (cache revalidated) npm http fetch GET 200 https://registry.npmjs.org/color-name 62ms (cache revalidated) npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 1ms (cache hit) npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-win32-x64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-win32-ia32 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-wasm32 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@emnapi/runtime npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/tslib npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linuxmusl-x64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linuxmusl-arm64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-x64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-s390x npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-arm64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-linux-arm npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linuxmusl-x64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linuxmusl-arm64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-x64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-s390x npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-arm64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-linux-arm npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-libvips-darwin-x64 npm verbose reify failed optional dependency /Users/user/sharp-test/node_modules/@img/sharp-darwin-x64 npm info run sharp@0.33.4 install node_modules/sharp node install/check > sharp@0.33.4 install > node install/check sharp: Detected globally-installed libvips v8.15.2 sharp: Attempting to build from source via node-gyp sharp: Please add node-addon-api to your dependencies npm info run sharp@0.33.4 install { code: 0, signal: null } added 11 packages in 3s 3 packages are looking for funding run `npm fund` for details npm verbose cwd /Users/user/sharp-test npm verbose os Darwin 23.6.0 npm verbose node v22.5.1 npm verbose npm v10.8.2 npm verbose exit 0 npm info ok ```

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

  System:
    OS: macOS 14.6.1
    CPU: (6) arm64 Apple M3 Max (Virtual)
    Memory: 9.69 GB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.5.1 - /opt/homebrew/bin/node
    npm: 10.8.2 - /opt/homebrew/bin/npm
lovell commented 3 months ago

The SHARP_FORCE_GLOBAL_LIBVIPS is an advanced feature that most people will not need and is currently impacted by a bug that https://github.com/lovell/sharp/pull/4111 will fix as part of the next release, so please don't use it for now.

The output you provided of running npm install --verbose --foreground-scripts sharp contains the following, which may help you:

sharp: Detected globally-installed libvips v8.15.2 sharp: Attempting to build from source via node-gyp sharp: Please add node-addon-api to your dependencies

Please ensure you've added all of the additional dependencies required for building from source as detailed at https://sharp.pixelplumbing.com/install#building-from-source

ys-chung commented 3 months ago

Hi, thanks for the reply. The output of the "complete error message" section is the one where I've installed node-addon-api and node-gyp before, following the requirements, but it still doesn't work.

npm error sharp: Detected SHARP_FORCE_GLOBAL_LIBVIPS, skipping search for globally-installed libvips npm error sharp: Detected globally-installed libvips v8.15.2 npm error sharp: Attempting to build from source via node-gyp npm error sharp: Found node-addon-api 8.1.0 npm error sharp: Found node-gyp version 10.2.0

For thenpm install --verbose --foreground-scripts sharp section I just followed the issue template's instruction to run it in an empty directory. I understood additional dependencies are needed for global libvips.

lovell commented 3 months ago

Please can you provide the output of npm install --verbose --foreground-scripts node-gyp node-addon-api sharp without setting the SHARP_FORCE_GLOBAL_LIBVIPS environment variable.

ys-chung commented 3 months ago

It would seem like without the env it worked πŸŽ‰ thank you

So if I want to set the env, I would need to wait for the next release where the change that fixes it comes out, understood.

user@users-Virtual-Machine sharp-test-new % npm install --verbose --foreground-scripts node-gyp node-addon-api sharp
npm verbose cli /opt/homebrew/Cellar/node/22.5.1/bin/node /opt/homebrew/bin/npm
npm info using npm@10.8.2
npm info using node@v22.5.1
npm verbose title npm install node-gyp node-addon-api sharp
npm verbose argv "install" "--loglevel" "verbose" "--foreground-scripts" "node-gyp" "node-addon-api" "sharp"
npm verbose logfile logs-max:10 dir:/Users/user/.npm/_logs/2024-08-10T12_46_16_046Z-
npm verbose logfile /Users/user/.npm/_logs/2024-08-10T12_46_16_046Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/node-gyp 491ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 120ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/sharp 90ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/exponential-backoff 87ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/nopt 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/proc-log 81ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/graceful-fs 331ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/make-fetch-happen 335ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/env-paths 344ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/semver 91ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/glob 369ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color 81ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tar 112ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/which 125ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 152ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-darwin-x64 152ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-darwin-x64 204ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-darwin-arm64 509ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm 445ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linuxmusl-arm64 458ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-darwin-arm64 972ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-arm64 1060ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-arm64 403ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-s390x 1409ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linux-x64 1583ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-s390x 422ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-arm 1075ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linux-x64 457ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linuxmusl-arm64 446ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-wasm32 462ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-libvips-linuxmusl-x64 1573ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-win32-ia32 468ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-win32-x64 447ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@img%2fsharp-linuxmusl-x64 1439ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/foreground-child 82ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/jackspeak 84ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minimatch 87ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/path-scurry 91ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass 111ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass 81ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/cacache 85ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/package-json-from-dist 102ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-lambda 82ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ssri 161ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/negotiator 87ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass-fetch 78ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/promise-retry 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass-flush 100ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/abbrev 75ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass-pipeline 103ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/chownr 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fs-minipass 75ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@npmcli%2fagent 349ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/yallist 172ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minizlib 142ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/isexe 77ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/http-cache-semantics 664ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/cross-spawn 78ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@pkgjs%2fparseargs 99ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 108ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@isaacs%2fcliui 109ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/lru-cache 110ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/path-key 103ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/shebang-command 157ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/shebang-regex 107ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/string-width 87ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/wrap-ansi 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/string-width 90ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/wrap-ansi 5ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 118ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 156ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/eastasianwidth 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/emoji-regex 86ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/emoji-regex 86ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 7ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ansi-styles 106ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ansi-styles 299ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 84ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/agent-base 86ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/http-proxy-agent 87ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/p-map 103ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass-collect 79ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass-sized 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@npmcli%2ffs 105ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/unique-filename 154ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/encoding 76ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/err-code 77ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/retry 75ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/socks-proxy-agent 777ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/socks 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/debug 104ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/debug 107ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/debug 109ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/debug 112ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ms 105ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aggregate-error 79ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/unique-slug 101ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 115ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/iconv-lite 84ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/safer-buffer 104ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/clean-stack 87ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/indent-string 158ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-string 83ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@emnapi%2fruntime 400ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tslib 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-name 81ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color-name 81ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 82ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 79ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ip-address 78ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/smart-buffer 89ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/sprintf-js 77ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/jsbn 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/imurmurhash 82ms (cache revalidated)
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-win32-x64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-win32-ia32
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-wasm32
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@emnapi/runtime
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/tslib
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-linuxmusl-x64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-linuxmusl-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-linux-x64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-linux-s390x
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-linux-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-linux-arm
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-linuxmusl-x64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-linuxmusl-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-linux-x64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-linux-s390x
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-linux-arm64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-linux-arm
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-libvips-darwin-x64
npm verbose reify failed optional dependency /Users/user/sharp-test-new/node_modules/@img/sharp-darwin-x64
npm info run sharp@0.33.4 install node_modules/sharp node install/check

> sharp@0.33.4 install
> node install/check

sharp: Detected globally-installed libvips v8.15.2
sharp: Attempting to build from source via node-gyp
sharp: Found node-addon-api 8.1.0
sharp: Found node-gyp version 10.2.0
sharp: See https://sharp.pixelplumbing.com/install#building-from-source
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/opt/homebrew/Cellar/node/22.5.1/bin/node',
gyp verb cli '/Users/user/sharp-test-new/node_modules/.bin/node-gyp',
gyp verb cli 'rebuild',
gyp verb cli '--directory=src'
gyp verb cli ]
gyp info using node-gyp@10.2.0
gyp info using node@22.5.1 | darwin | arm64
gyp info chdir src
gyp verb clean removing "build" directory
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 "python3" can be used
gyp verb find Python - executing "python3" to get executable path
gyp verb find Python - executable path is "/opt/homebrew/opt/python@3.12/bin/python3.12"
gyp verb find Python - executing "/opt/homebrew/opt/python@3.12/bin/python3.12" to get version
gyp verb find Python - version is "3.12.4"
gyp info find Python using Python version 3.12.4 found at "/opt/homebrew/opt/python@3.12/bin/python3.12"
gyp verb get node dir no --target version specified, falling back to host node version: 22.5.1

gyp verb install input version string "22.5.1"
gyp verb install installing version: 22.5.1
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" 11
gyp verb needs "installVersion" 11
gyp verb install version is good
gyp verb get node dir target node version installed: 22.5.1
gyp verb build dir attempting to create "build" dir: /Users/user/sharp-test-new/node_modules/sharp/src/build
gyp verb build dir "build" dir needed to be created? Yes
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/user/sharp-test-new/node_modules/sharp/src/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/user/sharp-test-new/node_modules/sharp/src/config.gypi
gyp verb common.gypi checking for gypi file: /Users/user/sharp-test-new/node_modules/sharp/src/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /opt/homebrew/opt/python@3.12/bin/python3.12
gyp info spawn args [
gyp info spawn args '/Users/user/sharp-test-new/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/user/sharp-test-new/node_modules/sharp/src/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/user/sharp-test-new/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/user/Library/Caches/node-gyp/22.5.1/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/user/Library/Caches/node-gyp/22.5.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/user/sharp-test-new/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/user/Library/Caches/node-gyp/22.5.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/user/sharp-test-new/node_modules/sharp/src',
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 ]
<string>:114: SyntaxWarning: invalid escape sequence '\/'
gyp verb build type Release
gyp verb architecture arm64
gyp verb node dev dir /Users/user/Library/Caches/node-gyp/22.5.1
gyp verb python /opt/homebrew/opt/python@3.12/bin/python3.12
gyp verb `which` succeeded for `make` /usr/bin/make
gyp verb bin symlinks created symlink to "/opt/homebrew/opt/python@3.12/bin/python3.12" in "/Users/user/sharp-test-new/node_modules/sharp/src/build/node_gyp_bins" and added to PATH
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
  cc -o Release/obj.target/nothing/../../node-addon-api/nothing.o ../../../node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=11.0 -arch arm64 -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
  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: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
  touch Release/obj.target/libvips-cpp.stamp
  c++ -o Release/obj.target/sharp-darwin-arm64/common.o ../common.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/common.o.d.raw   -c
  c++ -o Release/obj.target/sharp-darwin-arm64/metadata.o ../metadata.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/metadata.o.d.raw   -c
  c++ -o Release/obj.target/sharp-darwin-arm64/stats.o ../stats.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/stats.o.d.raw   -c
  c++ -o Release/obj.target/sharp-darwin-arm64/operations.o ../operations.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/operations.o.d.raw   -c
  c++ -o Release/obj.target/sharp-darwin-arm64/pipeline.o ../pipeline.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/pipeline.o.d.raw   -c
  c++ -o Release/obj.target/sharp-darwin-arm64/utilities.o ../utilities.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/utilities.o.d.raw   -c
  c++ -o Release/obj.target/sharp-darwin-arm64/sharp.o ../sharp.cc '-DNODE_GYP_MODULE_NAME=sharp-darwin-arm64' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNAPI_VERSION=9' '-DNODE_ADDON_API_DISABLE_DEPRECATED' '-DNODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' '-DSHARP_USE_GLOBAL_LIBVIPS' '-DBUILDING_NODE_EXTENSION' -I/Users/user/Library/Caches/node-gyp/22.5.1/include/node -I/Users/user/Library/Caches/node-gyp/22.5.1/src -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/config -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/openssl/openssl/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/uv/include -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/zlib -I/Users/user/Library/Caches/node-gyp/22.5.1/deps/v8/include -I../../../node-addon-api -I/opt/homebrew/Cellar/libarchive/3.7.4/include -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/opt/homebrew/Cellar/vips/8.15.2_1/include -I/opt/homebrew/Cellar/fftw/3.3.10_1/include -I/opt/homebrew/Cellar/cfitsio/4.4.1/include -I/opt/homebrew/Cellar/libimagequant/4.3.3/include -I/opt/homebrew/Cellar/cgif/0.4.1/include -I/opt/homebrew/Cellar/libexif/0.6.24/include -I/opt/homebrew/Cellar/libspng/0.7.4/include -I/opt/homebrew/Cellar/webp/1.4.0/include -I/opt/homebrew/Cellar/webp/1.4.0/include/webp -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/librsvg/2.58.2/include/librsvg-2.0 -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/cairo/1.18.0/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/libmatio/1.5.27/include -I/opt/homebrew/opt/hdf5/include -I/opt/homebrew/Cellar/little-cms2/2.16/include -I/opt/homebrew/Cellar/openexr/3.2.4/include -I/opt/homebrew/Cellar/openexr/3.2.4/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.11/include -I/opt/homebrew/Cellar/imath/3.1.11/include/Imath -I/opt/homebrew/Cellar/openjpeg/2.5.2/include/openjpeg-2.5 -I/opt/homebrew/Cellar/highway/1.2.0/include -I/opt/homebrew/Cellar/glib/2.80.4/include -I/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.80.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include  -O3 -gdwarf-2 -flto -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fexceptions -Wall -Oz -MMD -MF ./Release/.deps/Release/obj.target/sharp-darwin-arm64/sharp.o.d.raw   -c
  c++ -bundle -undefined dynamic_lookup -Wl,-search_paths_first -mmacosx-version-min=10.13 -arch arm64 -L./Release -stdlib=libc++  -o Release/sharp-darwin-arm64.node Release/obj.target/sharp-darwin-arm64/common.o Release/obj.target/sharp-darwin-arm64/metadata.o Release/obj.target/sharp-darwin-arm64/stats.o Release/obj.target/sharp-darwin-arm64/operations.o Release/obj.target/sharp-darwin-arm64/pipeline.o Release/obj.target/sharp-darwin-arm64/utilities.o Release/obj.target/sharp-darwin-arm64/sharp.o Release/nothing.a -L/opt/homebrew/Cellar/vips/8.15.2_1/lib -L/opt/homebrew/Cellar/glib/2.80.4/lib -L/opt/homebrew/opt/gettext/lib -lvips-cpp -lvips -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
  touch Release/obj.target/copy-dll.stamp
gyp info ok 
npm info run sharp@0.33.4 install { code: 0, signal: null }

added 110 packages in 25s

17 packages are looking for funding
  run `npm fund` for details
npm verbose cwd /Users/user/sharp-test-new
npm verbose os Darwin 23.6.0
npm verbose node v22.5.1
npm verbose npm  v10.8.2
npm verbose exit 0
npm info ok