Hi, I am on Amazon Linux / Redhat, and I was able to get phantomjs installed and working on the system, but when it calls pdf.js in the Handler.php file, I get the following error in console (I had to try in console since it just hangs). The version of PhantomJS is 2.1.1 -
ReferenceError: Can't find variable: pdf_export
undefined:2 :3 TypeError: null is not an object (evaluating 'viewSettings.margin')
phantomjs://code/pdf.js:185 in processViewSettings phantomjs://code/pdf.js:279 in renderAndExit phantomjs://code/pdf.js:293
Update: Think I figured this out and it has to do with the pathing characters // dependent on the OS.