galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

Getting 'Uncaught Error: dlopen(..., 1): no suitable image found #446

Open jlupini opened 4 years ago

jlupini commented 4 years ago

Been bashing my head against the wall trying to get this working. I get this error just from hummus = require('hummus') and I can't seem to get anywhere with it.

Any ideas?

Uncaught Error: dlopen(/Users/jlupini/Documents/jl_pdf_manager/node_modules/hummus/binding/hummus.node, 1): no suitable image found.  Did find:
    /Users/jlupini/Documents/jl_pdf_manager/node_modules/hummus/binding/hummus.node: code signature in (/Users/jlupini/Documents/jl_pdf_manager/node_modules/hummus/binding/hummus.node) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
    at Object.Module._extensions..node (module.js:695:18)
    at Module.load (module.js:569:32)
    at tryModuleLoad (module.js:532:12)
    at Function.Module._load (module.js:524:3)
    at Module.require (module.js:592:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/jlupini/Documents/jl_pdf_manager/node_modules/hummus/hummus.js:5:31)
    at Module._compile (module.js:648:30)
    at Object.Module._extensions..js (module.js:665:10)
    at Module.load (module.js:569:32)