Closed HenryWang001 closed 11 months ago
On which operating system are you? Windows, Linux?
@HenryWang001 you should install chrome or chromium (linux)
Like @RG7279805 said, you have to install chrome or chromium for linux.
Please give feedback if you tried again @HenryWang001
Hi, I try to run it on my raspberry pi 3 and I have the same error too. Chromium is installed by default on raspbian, so I don't know the cause of this. If someone give some advice to fix it, i will be very glad. :)
I fixed lots of issues. It currently works on my side.
I will close this PR for now. If you still have issues, please open another PR.
Thanks!
┌ Whatsapp ChatGPT & DALL-E │ ◇ ────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ A Whatsapp bot that uses OpenAI's ChatGPT and DALL-E to generate text and images from a prompt. │ │ │ ├───────────────────────────────────────────────────────────────────────────────────────────────────╯ │ ○ Starting /root/whatsapp-chatgpt/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241 reject(new Error([ ^
Error: Failed to launch the browser process! /root/whatsapp-chatgpt/node_modules/whatsapp-web.js/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/chrome: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md