open-wa / wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
111 stars 32 forks source link

Issue: Failed to Launch Browser Process in Docker #72

Open beatriz-g-amaral opened 1 month ago

beatriz-g-amaral commented 1 month ago

While running the @open-wa/wa-automate in Docker, I encountered a browser launch failure. The following error appears:

vbnet Error: Failed to launch the browser process! [ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory Steps Tried: Used --no-sandbox, --disable-setuid-sandbox flags. Installed Chromium in the container. Ran with Docker --privileged. Environment: Docker container running open-wa/wa-automate Node.js with Puppeteer Link to troubleshooting guide: https://pptr.dev/troubleshooting

Could you help me resolve this?