zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported



  • Hello,
    I tried generating chrome-pdf on linux machine but it's giving below errors..
    Checks tried:
    1)All dependencies are present.
    2)Tried adding "chrome": {
    "launchOptions": {
    "args": ["--no-sandbox"]
    }
    } in jsreport.config.json extensions object

    Please find below images for error,os details.
    2_1635572969764_image.png

    1_1635572969764_image(1).png

    0_1635572969763_image(2).png

    0_1635573018130_WhatsApp Image 2021-10-30 at 11.03.17 AM.jpeg

    Please help me out!!



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

    This should be in the config root. Not in the extensions.


Log in to reply
 

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