blackbeam / poppler-simple

A simple javascript interface to poppler library
Apache License 2.0
37 stars 14 forks source link

Fails to install #44

Closed Kukiwon closed 2 years ago

Kukiwon commented 2 years ago

When running npm i it fails to install. I'm using Node v17.1.0 on Apple Silicon (macOS). See attached screenhshot:

Schermafbeelding 2021-11-17 om 09 12 08

Do you have any idea why this is failing?

Thanks!

blackbeam commented 2 years ago

Hi. Year, it's because of a breaking change in poppler-21.11.0. Namely this one.

Kukiwon commented 2 years ago

Thanks for your quick reply @blackbeam. I downgraded to poppler-21.10.0 and now it works! Here's how I did that for anyone else having this issue:

Uninstall current version of poppler first, then:

url -O https://raw.githubusercontent.com/Homebrew/homebrew-core/b63945a86fab60915b318e8176e1c394041e4b3f/Formula/poppler.rb && brew install ./poppler.rb

blackbeam commented 2 years ago

Should be resolved in v0.10.3