#Puppeteer doesn't work

6 messages · Page 1 of 1 (latest)

warped quiver
#

Hi! ztwave I'm trying to build an app that uses Puppeteer (precisely a WhatsApp Chatbot), but it doesn't work for me since it seems to be running from root user.

Honestly I don't know much about code but in what I was researching I didn't find a solution to my problem. could someone please help me? Thanks. 🧐

/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241
reject(new Error([
^
Error: Failed to launch the browser process!
[1206/031428.992246:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
gloomy drumBOT
#

Project ID: 842c7f48-f116-42f4-bbd6-b7635948d321

#

It appears that you are running Puppeteer as a root user, which is not supported. You can try troubleshooting the issue by following the instructions in the Puppeteer troubleshooting guide.

warped quiver
warped quiver
frozen nova
#

Puppeteer and WhatsApp your project potential breaking tos?