Closed Vortec4800 closed 4 years ago
I'm having the same error as above
I'm on Mojave running Homebrew 2.1.0
Same for me, running Mojave 10.14.4 with Homebrew 2.1.2.
These steps eventually got the installation working:
brew rm poppler; brew install -s poppler
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
npm install pdf-fill-form
When running the app, I now see:
Error: .../node_modules/pdf-fill-form/build/Release/pdf_fill_form.node: invalid ELF header
I also tried deleting the package-lock.json
file and running npm i
again. This upgraded to version "pdf-fill-form": "^4.1.0"
, but I'm still seeing the ELF header error.
Thanks to @claucece's comment here: https://github.com/otrv4/pidgin-otrng/issues/104#issuecomment-477640242
Oh, nice, it helped here @brittbinler :)
When running this command:
brew install qt5 cairo poppler --with-qt5
I get the error:Error: invalid option: --with-qt5
Is there a new version of something that doesn't like this flag? I'm not able to install the module without passing this, as the
npm install
complains about not being able to find the required frameworks.