I haven't got any experience with Platform As A Services and I have difficulties with the installation and configuration of the right buildpack. More specifically I don't know how to configure Streamio BeamUp servers to run Puppeteer library.
I'll try to summarize everything and if needed I'll provide more details.
- I build a Stremio addon that relies on stremio-addon-sdk, NodeJs, Puppeteer and other modules.
- The addon works fine when installed locally.
- I managed to successfully deploy the addon on Stremio BeamUp servers following the official guide.
- The addon successfully installs in Stremio.
- The issue occurs when I'm trying to use the addon, I got the following error message in the log:
Error: Could not find Chrome (ver. 122.0.6261.57). This can occur if either 1. you did not perform an installation before running the script (e.g.
npx puppeteer browsers install chrome) or | 2. your cache path is incorrectly configured (which is: /app/.cache/puppeteer).
- I did my research and found out that Puppeteer library requires additional configuration based on the respective server. According to BeamUp github page BeamUp is based on Doku/Heroku and it support buildpack.
- I found a this guide for installing a buildpack that support Puppeteer Heroku platform.
- I tried building .buildpacks file with link to the respective buildpack but I failed.
- Now I'm trying to to the same thing with a .docker file but again I'm lost.
BeamUp documentation is very limited and even though Puppeteer and Heroku docs are very detailed I can't find the answer on my own. Any guidance would be much appreciated.