Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 7 Digital Ocean droplet with Express not returning any error or image #199

Open
impactcolor opened this issue Apr 23, 2023 · 1 comment
Labels
question Further information is requested

Comments

@impactcolor
Copy link

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?

@frinyvonnick
Copy link
Owner

Hi @impactcolor 👋

node-html-to-image uses puppeteer, did you checkout their troubleshooting section?

@frinyvonnick frinyvonnick added the question Further information is requested label Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants