You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 55%] Linking CXX shared library ../../lib/libopencv_core.dylib
[ 55%] Built target opencv_core
make: *** [all] Error 2
ERR! child process exited with code 2 (for more info, set '--loglevel silly')
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node ./install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pranushannimalan/.npm/_logs/2022-10-13T15_37_03_754Z-debug.log
opencv-build seems not working well with macOS (on M1-powered mac it fails on library not found for -lfreetype even if freetype is installed), so my solution was to install OpenCV manually (via Brew) and point opencv4nodejs to it (opencv-build should be removed):
Error Message
[ 55%] Linking CXX shared library ../../lib/libopencv_core.dylib
[ 55%] Built target opencv_core
make: *** [all] Error 2
ERR! child process exited with code 2 (for more info, set '--loglevel silly')
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node ./install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pranushannimalan/.npm/_logs/2022-10-13T15_37_03_754Z-debug.log
Auto Build - Full Error Log
error.txt
Manual Build - Environment Information
OpenCV version (example 3.4.1): 3.4.6
With OpenCV-contrib? (extra modules): no
OS: MacOS Monterey
The text was updated successfully, but these errors were encountered: