Closed AlexanderGalen closed 9 years ago
Log is kinda long, but seems to indicate that one of the modules that i'm using (icu-bidi) fails to compile. my initial guess is that it didn't get adapted to node 12. i'll adapt it and talk to the guy running it. If you have some time i'd appreciate it if you could try node 10. if it works there, than we know that what i guess is the actual problem.
I tried it with 0.10.36 and got pretty much the same result. Super long log with it saying
npm ERR! Failed at the icu-bidi@0.1.3 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the icu-bidi package,
So I think that's the same problem.
too bad.
ok. i updated my fork with the newer icu-bidi and added support for node 12. seems to run fine now on both node 10 and 12, on my machine (using osx). published.
please try now. if doesn't work, i'm gonna need more info on the failure at icu-bidi (which will appear now as gal-icu-bidi). If you are willing to assist - go to the hummusrenderrer folder under node_modules, and then to node_modules/gal-icu-bidi. from terminal run 'npm install --build-from-source'. This should build icu-bidi and show the failure. put the log in a file and attach it here.
Thanks. Gal.
Alright, so just a regular npm install hummusrenderer
works now without error, but when I try to execute a script that uses hummusrenderer I get this error
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Users/alex/node_modules/hummus/build/Release/hummus.node
Expected in: dynamic lookup
dyld: Symbol not found: _node_module_register
Referenced from: /Users/alex/node_modules/hummus/build/Release/hummus.node
Expected in: dynamic lookup
[1] 21703 trace trap node desktop/temp.js
I read in some places that deleting the node_modules folder before npm install may solve the problem. let me know if this worked for you.
Gal.
Well that seemed to do the trick! Installs fine and runs a basic script to create a PDF fine. I'll close this issue and reopen if anything comes up. Thanks for your help, and great job on all this PDF stuff! Really good work!
Great news. good find. thanks!
I've tried installing this with various versions of node, as well as installing older versions of the module itself with no success. when attempting to install the most recent version of the module with the most recent stable version of node, I get this log: