Excel report on Heroku throws sandbox error



  • I have the Heroku Puppeteer buildpack installed. chrome-pdf works fine but html-to-excel throws the No usable sandbox! error.

    // jsreport.config.json
    
    "extensions": {
     "chrome-pdf": {
          "launchOptions": {
            "args": ["--no-sandbox"]
          }
        },
        " html-to-xlsx": {
          "launchOptions": {
            "args": ["--no-sandbox"]
          }
        }
    }
    

  • administrators

    your config should be:

    "extensions": {
     "chrome-pdf": {
          "launchOptions": {
            "args": ["--no-sandbox"]
          }
        },
        "html-to-xlsx": {
          "chrome": {
            "launchOptions": {
              "args": ["--no-sandbox"]
            }
          }
        }
    }
    

    or just shared chrome config

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

Log in to reply
 

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