I did try that solution but needed to do a few more things.
I ended up installing the latest sparticuz chromium package, the latest puppeteer-core, then adding:
[functions]
node_bundler = "esbuild"
external_node_modules = ["@sparticuz/chromium"]
to get running locally on netlify dev i had to install
npx @puppeteer/browsers install chromium@latest --path /tmp/localChromium
to get the chromium path
and also in wsl2 install the following packages:
sudo apt install libnss3-dev libatk1.0-0 libatk-bridge2.0-0 libcups2 libgbm1 libpangocairo-1.0-0 libgtk-3-0
but now, live on netlify, the function times out after 10s just when getting the title of a page