Generate pdf with html-browser-client



  • When run my template it produces this error.
    Error: Command failed: C:\inetpub\jsreportapp\node_modules\phantomjs\lib\phantom\phantomjs.exe --ignore-ssl-errors=yes --web-security=false --ssl-protocol=any C:\inetpub\jsreportapp\node_modules\phantom-html-to-pdf\lib\scripts\standaloneScript.js C:\Users\efstr\AppData\Local\Temp\jsreport\autocleanup\edcc212d-e3be-4233-ba3a-eb8f2ed592ebsettings.html

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)


  • Are you able to replicate the problem also on your local pc?

    The phantomjs can crash like this due to various reasons. However, the most common cause is reaching HW resource limits like memory.



  • Thanks for fast reply I run it on my local machine. We have many charts with highcharts, when build one of that, it products this error.
    In my data find something like this, when rewrite with English the problem solved,
    "employee": "?�?�?�?�?�?�?�???� ?�?�?�?�?�?�?�???�". Is this a reason which crash phantom or just happened something else?



  • Is this a reason which crash phantom or just happened something else?

    It is hard to say. Could be.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.