Not render phantom-pdf in WebApp Azure

  • Hi People.

    I created a "webApp" in Azure and installed JsReport 2.5, but reports that use PDF I can not render.

    If you use the engine "phantom-pdf" the error is:

    Server Error.
    There was an unexpected error in the request processing. 

    If you use the "chrome-pdf" engine, the error is:

    Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
        at Launcher.launch (/home/site/wwwroot/node_modules/puppeteer/lib/Launcher.js:119:15)

    If you use the engine "xlsx" success is guaranteed for the file.

    The installed packages are:

      "dependencies": {
        "jsreport": "2.5.0",
        "jsreport-phantom-pdf": "^2.2.0",
        "moment": "^2.24.0",
        "moment-timezone": "^0.5.25"


            <meta content="text/html; charset=utf-8" http-equiv="Content-Type">

  • Try docker based azure web app. The normal one is too limited to run stuff like chrome.

Log in to reply

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