penteract-ocr icon indicating copy to clipboard operation
penteract-ocr copied to clipboard

Dependency information is not enough

Open je3f0o opened this issue 5 years ago • 0 comments

Hello, I just found this repo and so glad to test it. But it is not working simple code: require("penteract.js");

Looks like dependency problem. Please add this in your readme. :)

internal/modules/cjs/loader.js:730 return process.dlopen(module, path.toNamespacedPath(filename)); ^

Error: dlopen(/Users/jeefo/projects/face_recognition/node_modules/penteract/build/Release/penteract.node, 1): Library not loaded: /usr/local/opt/webp/lib/libwebp.5.dylib Referenced from: /usr/local/opt/libtiff/lib/libtiff.5.dylib Reason: image not found at Object.Module._extensions..node (internal/modules/cjs/loader.js:730:18) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (/Users/jeefo/projects/face_recognition/node_modules/penteract/lib/index.js:12:18) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32)

je3f0o avatar Apr 10 '19 03:04 je3f0o