info install Spawning in directory:/opt/homebrew/lib/node_modules/@u4/opencv4nodejs node-gyp process: node-gyp build --jobs max --release gyp info it worked if it ends with ok gyp info using node-gyp@9.1.0 gyp info using node@16.16.0 | darwin | arm64 gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 8 ] CXX(target) Release/obj.target/opencv4nodejs/cc/opencv4nodejs.o CXX(target) Release/obj.target/opencv4nodejs/cc/CustomMatAllocator.o CXX(target) Release/obj.target/opencv4nodejs/cc/ExternalMemTracking.o CXX(target) Release/obj.target/opencv4nodejs/cc/core/core.o CXX(target) Release/obj.target/opencv4nodejs/cc/core/coreConstants.o CXX(target) Release/obj.target/opencv4nodejs/cc/core/HistAxes.o CXX(target) Release/obj.target/opencv4nodejs/cc/core/Mat.o CXX(target) Release/obj.target/opencv4nodejs/cc/core/Point.o In file included from ../cc/CustomMatAllocator.cc:1: In file included from ../cc/CustomMatAllocator.h:8: ../cc/core/Size.h:1:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ In file included from ../cc/ExternalMemTracking.cc:1: In file included from ../cc/ExternalMemTracking.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/CustomMatAllocator.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ../cc/core/core.cc:1: In file included from ../cc/core/core.h:1: In file included from ../cc/core/Mat.h:1: In file included from ../cc/core/coreUtils.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ In file included from ../cc/opencv4nodejs.cc:2: In file included from ../cc/ExternalMemTracking.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ In file included from ../cc/core/coreConstants.cc:1: In file included from ../cc/core/coreConstants.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ 1In file included from ../cc/core/HistAxes.cc:5: In file included from ../cc/core/HistAxes.h:4: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ error generated. 1 error generated. In file included from ../cc/core/Mat.cc:1: In file included from ../cc/opencv_modules.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ make: *** [Release/obj.target/opencv4nodejs/cc/core/coreConstants.o] Error 1 make: *** [Release/obj.target/opencv4nodejs/cc/core/HistAxes.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/ExternalMemTracking.o] Error 1 In file included from ../cc/core/Point.cc:1: In file included from ../cc/core/Point.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/core/Point.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/core/core.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/core/Mat.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/opencv4nodejs.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/lib/node_modules/node-gyp/lib/build.js:201:23) gyp ERR! stack at ChildProcess.emit (node:events:527:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Darwin 20.4.0 gyp ERR! command "/usr/local/bin/node" "/opt/homebrew/bin/node-gyp" "build" "--jobs" "max" "--release" gyp ERR! cwd /opt/homebrew/lib/node_modules/@u4/opencv4nodejs gyp ERR! node -v v16.16.0 gyp ERR! node-gyp -v v9.1.0 gyp ERR! not ok error: Error: Command failed: node-gyp build --jobs max --release gyp info it worked if it ends with ok gyp info using node-gyp@9.1.0 gyp info using node@16.16.0 | darwin | arm64 gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 8 ] In file included from ../cc/CustomMatAllocator.cc:1: In file included from ../cc/CustomMatAllocator.h:8: ../cc/core/Size.h:1:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ In file included from ../cc/ExternalMemTracking.cc:1: In file included from ../cc/ExternalMemTracking.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/CustomMatAllocator.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ../cc/core/core.cc:1: In file included from ../cc/core/core.h:1: In file included from ../cc/core/Mat.h:1: In file included from ../cc/core/coreUtils.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ In file included from ../cc/opencv4nodejs.cc:2: In file included from ../cc/ExternalMemTracking.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ In file included from ../cc/core/coreConstants.cc:1: In file included from ../cc/core/coreConstants.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ 1In file included from ../cc/core/HistAxes.cc:5: In file included from ../cc/core/HistAxes.h:4: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ error generated. 1 error generated. In file included from ../cc/core/Mat.cc:1: In file included from ../cc/opencv_modules.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ make: *** [Release/obj.target/opencv4nodejs/cc/core/coreConstants.o] Error 1 make: *** [Release/obj.target/opencv4nodejs/cc/core/HistAxes.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/ExternalMemTracking.o] Error 1 In file included from ../cc/core/Point.cc:1: In file included from ../cc/core/Point.h:1: ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/core/Point.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/core/core.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/core/Mat.o] Error 1 1 error generated. make: *** [Release/obj.target/opencv4nodejs/cc/opencv4nodejs.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/lib/node_modules/node-gyp/lib/build.js:201:23) gyp ERR! stack at ChildProcess.emit (node:events:527:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Darwin 20.4.0 gyp ERR! command "/usr/local/bin/node" "/opt/homebrew/bin/node-gyp" "build" "--jobs" "max" "--release" gyp ERR! cwd /opt/homebrew/lib/node_modules/@u4/opencv4nodejs gyp ERR! node -v v16.16.0 gyp ERR! node-gyp -v v9.1.0 gyp ERR! not ok at ChildProcess.exithandler (node:child_process:398:12) at ChildProcess.emit (node:events:527:28) at maybeClose (node:internal/child_process:1092:16) at Socket. (node:internal/child_process:451:11) at Socket.emit (node:events:527:28) at Pipe. (node:net:709:12) { code: 1, killed: false, signal: null, cmd: 'node-gyp build --jobs max --release ' } ERR! install node-gyp failed and return Error Command failed: node-gyp build --jobs max --release ERR! install gyp info it worked if it ends with ok ERR! install gyp info using node-gyp@9.1.0 ERR! install gyp info using node@16.16.0 | darwin | arm64 ERR! install gyp info spawn make ERR! install gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 8 ] ERR! install In file included from ../cc/CustomMatAllocator.cc:1: ERR! install In file included from ../cc/CustomMatAllocator.h:8: ERR! install ../cc/core/Size.h:1:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install In file included from ../cc/ExternalMemTracking.cc:1: ERR! install In file included from ../cc/ExternalMemTracking.h:1: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install 1 error generated. ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/CustomMatAllocator.o] Error 1 ERR! install make: *** Waiting for unfinished jobs.... ERR! install In file included from ../cc/core/core.cc:1: ERR! install In file included from ../cc/core/core.h:1: ERR! install In file included from ../cc/core/Mat.h:1: ERR! install In file included from ../cc/core/coreUtils.h:1: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install In file included from ../cc/opencv4nodejs.cc:2: ERR! install In file included from ../cc/ExternalMemTracking.h:1: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install In file included from ../cc/core/coreConstants.cc:1: ERR! install In file included from ../cc/core/coreConstants.h:1: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install 1In file included from ../cc/core/HistAxes.cc:5: ERR! install In file included from ../cc/core/HistAxes.h:4: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install error generated. ERR! install 1 error generated. ERR! install In file included from ../cc/core/Mat.cc:1: ERR! install In file included from ../cc/opencv_modules.h:1: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/core/coreConstants.o] Error 1 ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/core/HistAxes.o] Error 1 ERR! install 1 error generated. ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/ExternalMemTracking.o] Error 1 ERR! install In file included from ../cc/core/Point.cc:1: ERR! install In file included from ../cc/core/Point.h:1: ERR! install ../cc/macros.h:2:10: fatal error: 'opencv2/core.hpp' file not found ERR! install #include ERR! install ^~~~~~~~~~~~~~~~~~ ERR! install 1 error generated. ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/core/Point.o] Error 1 ERR! install 1 error generated. ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/core/core.o] Error 1 ERR! install 1 error generated. ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/core/Mat.o] Error 1 ERR! install 1 error generated. ERR! install make: *** [Release/obj.target/opencv4nodejs/cc/opencv4nodejs.o] Error 1 ERR! install gyp ERR! build error ERR! install gyp ERR! stack Error: `make` failed with exit code: 2 ERR! install gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/lib/node_modules/node-gyp/lib/build.js:201:23) ERR! install gyp ERR! stack at ChildProcess.emit (node:events:527:28) ERR! install gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) ERR! install gyp ERR! System Darwin 20.4.0 ERR! install gyp ERR! command "/usr/local/bin/node" "/opt/homebrew/bin/node-gyp" "build" "--jobs" "max" "--release" ERR! install gyp ERR! cwd /opt/homebrew/lib/node_modules/@u4/opencv4nodejs ERR! install gyp ERR! node -v v16.16.0 ERR! install gyp ERR! node-gyp -v v9.1.0 ERR! install gyp ERR! not ok ERR! install return code: 1