I need to try run my app node with WhatsAppweb.js but I have problems with puppeteer
My error is Error: Failed to launch the browser process
I read the documentación so I need install in the image of server dependencies of Linux
7 Replies
Project ID:
230216de-37a9-4a3f-a2aa-fcb46207d900
It seems that the issue is related to running the app as root user without the --no-sandbox flag. You can try troubleshooting the issue by following the instructions in the Puppeteer documentation (https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md).
⚠️ experimental feature
Project id 230216de-37a9-4a3f-a2aa-fcb46207d900
simply add to your puppeteer.launch options.
without that arg i get the same error as you, with that arg added my page.screenshot demo works
That's right I have the same thing in my app but I'm still having problems, it still has problems trying to launch the browser
@Mr. Luis Mentioned this in #❓|quick-qs but i’ll say it again here for visibility. Whatsapp bots are not allowed on Railway as they are classified as user bots