js report : Failed to launch chrome error



  • Hi,
    I am getting error while running js pdf report
    Error: Failed to launch chrome!
    [0328/092947.147491:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

    TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/home/ubuntu/jsreportapp/node_modules/puppeteer/lib/Launcher.js:342:14)
    at Interface.helper.addEventListener (/home/ubuntu/jsreportapp/node_modules/puppeteer/lib/Launcher.js:331:50)
    at Interface.emit (events.js:187:15)
    at Interface.close (readline.js:414:8)
    at Socket.onend (readline.js:167:10)
    at Socket.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1098:12)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)
    

    Please help me to resolve this issue.



  • Please always try to share as much information you can.
    This question is basically just an error message and we even don't know what OS you use and how did you install jsreport.

    Please try to use the installations steps we provide for particular OS and platform here. (click on the particular icon)
    https://jsreport.net/on-prem

    If it don't help, come back and share as much information as you can.
    Thanks



  • we are using UBUNTU and we referred same(https://jsreport.net/on-prem) website for installation.


Log in to reply
 

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