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"] } } }
-
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"] } } }