justadudewhohacks / opencv4nodejs

Nodejs bindings to OpenCV 3 and OpenCV 4
MIT License
4.95k stars 825 forks source link

Unable to install opencv4nodejs #877

Open bijitbiswas opened 8 months ago

bijitbiswas commented 8 months ago

I tried these options

  1. brew uninstall tesseract
  2. brew uninstall ffmpeg
  3. npm install opencv4nodejs

but end up getting below error

Device : Mac OS 13.5.1 npm -v : 6.14.11

[ 49%] Linking CXX static library ../lib/liblibprotobuf.a [ 49%] Built target libprotobuf [ 49%] Linking CXX static library ../lib/libIlmImf.a [ 49%] Built target IlmImf make: *** [all] Error 2 ERR! child process exited with code 2 (for more info, set '--loglevel silly') npm WARN bijitbiswas No description npm WARN bijitbiswas No repository field. npm WARN bijitbiswas No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! opencv-build@0.1.9 install: node ./install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the opencv-build@0.1.9 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/bijitbiswas/.npm/_logs/2024-01-15T15_35_17_671Z-debug.log

jdmg94 commented 8 months ago

first line of the readme, this project is unmaintained use this instead: https://github.com/UrielCh/opencv4nodejs