ugo-studio / cloudflare-puppeteer-extra

6 stars 1 forks source link

example does not run #1

Open simonadler1 opened 9 months ago

simonadler1 commented 9 months ago

Running the example code in the readme failed with the following error

✘ [ERROR] No matching export in "node_modules/@cloudflare/puppeteer/lib/esm/puppeteer/puppeteer-core.js" for import "WorkersWebSocketTransport"

    node_modules/cloudflare-puppeteer-extra/dist/index.esm.js:6:9:
      6 │ import { WorkersWebSocketTransport } from '@cloudflare/puppeteer';

is there a specific version of cloudflare/puppeteer this wrapper is compatible with?

Thanks!

ugo-studio commented 9 months ago

Sorry, this package is not useable. I tried to rewrite the original puppeteer-extra package to work on cloudflare(edge environment), but it depends on standard nodejs modules(fs, path, etc), which isn't available on the edge environment.

simonadler1 commented 9 months ago

ah well. thank you for the reply! going to leave this open for visibility

Mr-Technician commented 3 weeks ago

Ah, that is too bad. :( Can you edit the readme to reflect this?