wechaty / docker-getting-started

Getting Started Template for Docker Users
https://wechaty.js.org/2018/08/14/docker-wechaty-getting-started/
Apache License 2.0
64 stars 25 forks source link

Error: Failed to launch the browser process #4

Open atjshop opened 3 years ago

atjshop commented 3 years ago

Is this repository up to date? I'm trying to run this demo but getting error. Here is what I did:

git clone https://github.com/wechaty/docker-wechaty-getting-started
cd docker-wechaty-getting-started
bin/docker-run-typescript.sh

Then I got below error:

WECHATY Environment Variables: 1
WECHATY_DOCKER=1

Starting Docker Container for Wechaty v0.48.10 with Node.js v12.18.3 ...
Working directory: /bot
Executing ts-node --type-check src/typescript.ts
19:01:09 ERR PuppetPuppeteerBridge start() exception: Error: Failed to launch the browser process!
/wechaty/node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory