puppeteer-extra icon indicating copy to clipboard operation
puppeteer-extra copied to clipboard

[Bug] Typescript error on the absence of playwright-core module

Open amiralis1365 opened this issue 1 year ago • 4 comments

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 avatar Jul 19 '22 17:07 amiralis1365

@amiralis1365 cannot reproduce, what's your TS version and config?

Also check the skipLibCheck option

berstend avatar Jul 19 '22 18:07 berstend

I got this error message too. Using the puppeteer-extra-plugin-recaptcha package.

djereg avatar Jul 20 '22 12:07 djereg

Had the same issue with using default tsconfig.json in Firebase functions. Setting skipLibCheck to false as @berstend suggested helped.

melnikovic avatar Oct 30 '23 14:10 melnikovic

that didn't work for me.
Using node 19.0.0, typescript and puppeteer ^21.9.0

TheoOliveira avatar Mar 30 '24 22:03 TheoOliveira