A lock file from my laptop, a base image that floats, and a fee charged one step too early.
Hi! I build small data tools that run as Apify Actors, serverless jobs that people pay for per result.
I recently shipped a new one. It opens short video pages in headless Chrome through Puppeteer, takes the audio, and turns it into a transcript. Every local test passed. The first run in the cloud lasted 4 seconds.
π₯ The error
Error: Could not find Chrome (ver. 158.0.8127.88). 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: /home/myuser/.cache/puppeteer).
Enter fullscreen mode
Exit fullscreen mode
The container did have Chrome in it. It just wasn't version 158.
π Why it passed on my laptop
Two things were true at once.
My laptop never used Puppeteer's own Chrome.β¦