First off, thank you so much for this package!
I've read several different options for different servers, Puppeteer js shows aws, travis and others but not Digital Ocean. So I figured I'd post here.
Running Centos 7 before adding the
args: ['--no-sandbox', '--disable-setuid-sandbox']
I get the no sandbox error. After I run the above I don't get any error. Nothing happens not even a log to the server. nodeHtmlToImage({ puppeteerArgs: { timeout: 36000, headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] }, output:/var/www/vhosts/inkto.art/preview.inkto.art/public/${responseImg}, html: '<h1>test</h1>' }) .then(() => res.send('image created check server')) .catch(e => res.send(We have an error: ${e}))
Does anyone have any idea or pointers how I can run on DO?
First off, thank you so much for this package! I've read several different options for different servers, Puppeteer js shows aws, travis and others but not Digital Ocean. So I figured I'd post here.
Running Centos 7 before adding the
args: ['--no-sandbox', '--disable-setuid-sandbox']
I get the no sandbox error. After I run the above I don't get any error. Nothing happens not even a log to the server.nodeHtmlToImage({ puppeteerArgs: { timeout: 36000, headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] }, output:
/var/www/vhosts/inkto.art/preview.inkto.art/public/${responseImg}, html: '<h1>test</h1>' }) .then(() => res.send('image created check server')) .catch(e => res.send(
We have an error: ${e}))
Does anyone have any idea or pointers how I can run on DO?