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

Error #1

Open
bkzutr90 opened this issue Dec 19, 2022 · 0 comments
Open

Error #1

bkzutr90 opened this issue Dec 19, 2022 · 0 comments

Comments

@bkzutr90
Copy link

I got error

~/sticker# node index.js
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┃ ┃┃ @open-wa/wa-automate ┃┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with ┃┃ advanced features. ┃┃ Version: 4.52.1 ┃┃ Check out the latest changes: ┃┃ https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃┃ ┃┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
You can also authenticate the session at: http://localhost:7000

  • Starting
  • Version: 4.52.1
  • Initializing WA
  • It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support
  • Launching Browser
  • MD Enabled, turning off incognito mode.
  • Data dir: ./_IGNORE_STICKER_BOT
    Error: Failed to launch the browser process!
    /root/sticker/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/root/sticker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:286:20)
at Interface.<anonymous> (/root/sticker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:274:24)
at Interface.emit (node:events:525:35)
at Interface.close (node:internal/readline/interface:536:10)
at Socket.onend (node:internal/readline/interface:262:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

Error: Failed to launch the browser process!
/root/sticker/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (/root/sticker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:286:20)
at Interface.<anonymous> (/root/sticker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:274:24)
at Interface.emit (node:events:525:35)
at Interface.close (node:internal/readline/interface:536:10)
at Socket.onend (node:internal/readline/interface:262:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v18.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant