puppeteer-extra
puppeteer-extra copied to clipboard
[Bug] Typescript error on the absence of playwright-core module
Throws Typescript error when you install it with puppeteer and playwright-core is absent on version 3.6.6. Cannot find module 'playwright-core' or its corresponding type declarations.
@amiralis1365 cannot reproduce, what's your TS version and config?
Also check the skipLibCheck
option
I got this error message too. Using the puppeteer-extra-plugin-recaptcha package.
Had the same issue with using default tsconfig.json in Firebase functions. Setting skipLibCheck to false as @berstend suggested helped.
that didn't work for me.
Using node 19.0.0,
typescript
and puppeteer ^21.9.0