-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'launch' of undefined #15
Comments
I'm having the same error, the versions that work for me is:
But i need the newer version for the project that i'm working on |
I having the same issue.
|
same here |
Similar issue with
TypeError: Cannot read properties of undefined (reading 'launchChromium') Did anyone manage to workaround it? |
Same here |
same here |
1 similar comment
same here |
hi all, ran into the same issue here. Was able to fix it by: import { launchChromium } from 'playwright-aws-lambda/dist/src'; |
This fixed it for me too. |
also you can fix like this import * as playwright from 'playwright-aws-lambda'; |
Tried integrating playwright-aws-lambda with an existing project and got an error, so went back to basics, started a new npm project and followed the steps in the README as follows:
npm install playwright-core playwright-aws-lambda --save
nodejs12.x
runtime.When running the lambda I get the following error:
Apologies if this is user error. I did some research before logging this to see if there was an obvious fix, and simplified the repro process by using the bare minimum example code instead of my own code.
The text was updated successfully, but these errors were encountered: