Error rendering chrome-pdf fresh install on Ubuntu 18 AWS



  • 2018-10-14T20:59:48.041Z - error: Error when processing render request Failed to launch chrome!
    /home/ubuntu/jsreportapp/node_modules/puppeteer/.local-chromium/linux-579032/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
    
    
    TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
     Error: Failed to launch chrome!
    /home/ubuntu/jsreportapp/node_modules/puppeteer/.local-chromium/linux-579032/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
    
    
    TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
    
        at onClose (/home/ubuntu/jsreportapp/node_modules/puppeteer/lib/Launcher.js:299:14)
        at Interface.helper.addEventListener (/home/ubuntu/jsreportapp/node_modules/puppeteer/lib/Launcher.js:288:50)
        at emitNone (events.js:111:20)
        at Interface.emit (events.js:208:7)
        at Interface.close (readline.js:370:8)
        at Socket.onend (readline.js:149:10)
        at emitNone (events.js:111:20)
        at Socket.emit (events.js:208:7)
        at endReadableNT (_stream_readable.js:1064:12)
        at _combinedTickCallback (internal/process/next_tick.js:138:11)
        at process._tickCallback (internal/process/next_tick.js:180:9)
    2018-10-14T20:59:48.043Z - error: Error during processing request at http://18.231.87.8:4444/api/report/leo
    ```


  • Did you follow our installation instructions for ubuntu?

    https://jsreport.net/learn/ubuntu



  • it worked like a charm. Appreciate it .


Log in to reply
 

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