Closed ionizer closed 5 years ago
Hi @ionizer
You are having the same issue as I had, the 0.8.0 version published of Nopodofo still doesn't have the ENV variables configured to get the /opt/ path which Macports installs Podofo in it.
I recommend you clone the master branch, and install the module from it, this way you will have the latest changes until @corymickelson publishes the new version.
Looks like my other option is to use vcpkg
instead but I can't figure out how to point NoPoDoFo there. Do you happen to know how to achieve this?
Actually that didn't worked for me too.
What I did was:
brew install podofo
npm run build
"nopodofo": "git+`repo#branch"
and it should work like this, I hope so
Regarding this doc for Mac I will open a PR soon
@gentios Thank you, and @ionizer the vcpkg mac podofo package seems to have some issues at the moment, plus it is lacking libidn which is used for aes 256 encryption. If you can use brew that appears to be the best option for mac today.
@gentios @ionizer Im closing this issue, if mac install issues persist please comment on #91
Please accept my apologies as this seems to have been asked multiple times (#77, #91) but I'm having lots trouble installing the whole stuff properly on my Mac, and the solution will later be deployed to Linux. I'm using NoPoDoFo v0.8.0 as distributed from NPM, and currently on MacOS Mojave 10.14.4 with Node v8.9.3.
Now, I tried installing using MacPorts using
sudo port install podofo
, then I installed NoPoDoFo (v0.8.0) to my Node project usingyarn add nopodofo
. But upon importing this library usingrequire('nopodofo')
, the following error shows:I also tried to install PoDoFo using Homebrew but to only meet the same error and could not figure out what to fix.
Correct me if I'm wrong, but referring to the previous issues, this seem to indicate that NoPoDoFo can't find the installed PoDoFo. Unfortunately for me, I could not figure out what's wrong and how to resolve this with NoPoDoFo v0.8.0.
Does anyone have a pointer to this issue? Thanks!