Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing dependencies on Mac #66

Closed
Vortec4800 opened this issue Apr 1, 2019 · 4 comments
Closed

Error installing dependencies on Mac #66

Vortec4800 opened this issue Apr 1, 2019 · 4 comments

Comments

@Vortec4800
Copy link

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.

@mhadad
Copy link

mhadad commented Apr 7, 2019

I'm having the same error as above

I'm on Mojave running Homebrew 2.1.0

@brittbinler
Copy link

Same for me, running Mojave 10.14.4 with Homebrew 2.1.2.

@brittbinler
Copy link

brittbinler commented May 9, 2019

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: otrv4/pidgin-otrng#104 (comment)

@claucece
Copy link

claucece commented May 9, 2019

Oh, nice, it helped here @brittbinler :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants