A port of puppeteer running on Deno
**Deno info:** ```shell 🐉 >deno info DENO_DIR location: /Users/mateuszflisikowski/Library/Caches/deno Remote modules cache: /Users/mateuszflisikowski/Library/Caches/deno/deps npm modules cache: /Users/mateuszflisikowski/Library/Caches/deno/npm Emitted modules cache: /Users/mateuszflisikowski/Library/Caches/deno/gen Language server registries cache: /Users/mateuszflisikowski/Library/Caches/deno/registries Origin storage: /Users/mateuszflisikowski/Library/Caches/deno/location_data ``` **TypeError: reader is not async iterable** ```shell TypeError: reader is not async iterable at getReadableStreamAsUint8Array (https://deno.land/x/[email protected]/vendor/puppeteer-core/puppeteer/common/util.js:329:29) at Page.pdf (https://deno.land/x/[email protected]/vendor/puppeteer-core/puppeteer/common/Page.js:2606:24) at async Server.<anonymous> (file:///home/deno/functions/download-cv/index.ts:21:17) at async Server.#respond (https://deno.land/[email protected]/http/server.ts:298:18) ``` **Supabase function code, that try to run.** ```javascript import puppeteer from 'https://deno.land/x/[email protected]/mod.ts'; import { serve } from 'https://deno.land/[email protected]/http/server.ts'; serve(async () => { const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://mflisikowski.dev/cv', { waitUntil: 'networkidle2', }); const pdf = await page.pdf({ format: 'A4' }); await browser.close(); return new Response(pdf, { headers: { 'Content-Disposition': `attachment; filename="cv.pdf"`, 'Content-Type': 'application/pdf', }, }); }); ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by mflisikowski and has received 9 comments.