Failed to launch chrome!



  • Hi guys,
    I tried to launch a report with chrome-pdf recipe on Ubuntu (on local Windows the report working) but it doesn't work.
    JSReport (2.7.2) say:
    Failed to launch chrome! [0520/183635.857947:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported

    I followed the Ubuntu docs found on
    https://jsreport.net/learn/ubuntu

    do you have a solution?

    Thanks,
    Francesco



  • Don't start jsreport with root user.

    Or change config with

    { "chrome": { "launchOptions": { "args": ["--no-sandbox"] } } }
    


  • Now works
    Thank you for help


Log in to reply
 

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