Open kopierschnitte opened 7 months ago
@kopierschnitte I am using the buanet/iobroker docker container. Any hints on how to get it working there? I tried to manually install chromium in the container, and changed the main.js according to you. However, iobroker will not install "my" adapter. Exit Code 25.
Describe the bug
The Puppeteer NPM-Package seems to download and install the x86 build of Chrome. This refuses to work on non-x86 CPUs.
To Reproduce
Install the adapter on ARM64 platforms.
Expected behavior
Use either the package manager of the distribution to install a correct build of Chrome/Chromium or download it during install.
Additional context
I've fixed the problem by first installing chromium (Debian 12 / ARM64 in my case):
sudo apt install chromium
Change the adapter's main.js onReady() function to load the correct binary (chromium in my case):
Now everything works as expected.