The issue has been closed
I tried to build image from legacy docker file as buildin image works on x86 platforms.
I change [arch=amd64] to [arch=armv7l] in the following line, as I am trying to build it on one of my spare Raspberry Pi 2 lying around.
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
It is giving an error as follows;
E: Package 'google-chrome-stable' has no installation candidate
May someone help in this regard?
![](https://avatars.githubusercontent.com/u/5903821?v=4)
@HobbytronicsPK because google chrome does not have an arm version. This issue is also present in m1 macbooks.
posted by smashah almost 3 years ago![](https://avatars.githubusercontent.com/u/16560199?v=4)
posted by HobbytronicsPK almost 3 years ago ![](https://avatars.githubusercontent.com/u/5903821?v=4)
install node, then try this:
> mkdir wa
> cd wa
> npm i @open-wa/wa-automate
> npx @open-wa/wa-automate --ras-pi
posted by smashah almost 3 years ago![](https://avatars.githubusercontent.com/u/16560199?v=4)
install node, then try this:
> mkdir wa
> cd wa
> npm i @open-wa/wa-automate
> npx @open-wa/wa-automate --ras-pi
I tried this but it throws an error.
`✖ Error Failed to launch the browser process!
/home/pi/docker/wa/node_modules/puppeteer/.local-chromium/linux-970485/chrome-linux/chrome: 1: /home/pi/docker/wa/node_modules/puppeteer/.local-chromium/linux-970485/chrome-linux/chrome: Syntax error: redirection unexpected
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
Error: Failed to launch the browser process!
/home/pi/docker/wa/node_modules/puppeteer/.local-chromium/linux-970485/chrome-linux/chrome: 1: /home/pi/docker/wa/node_modules/puppeteer/.local-chromium/linux-970485/chrome-linux/chrome: Syntax error: redirection unexpected
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
`
posted by HobbytronicsPK almost 3 years ago![](https://avatars.githubusercontent.com/u/16560199?v=4)
npx @open-wa/wa-automate --ras-pi --useChrome
command resolved the issue
posted by HobbytronicsPK almost 3 years ago![](https://avatars.githubusercontent.com/u/16560199?v=4)
Now the only issue is, to keep the session open, if terminal is closed or Ctrl + C is pressed to free the terminal up.
posted by HobbytronicsPK almost 3 years ago![](https://avatars.githubusercontent.com/u/16560199?v=4)
posted by HobbytronicsPK almost 3 years ago