alixaxel / chrome-aws-lambda

Chromium Binary for AWS Lambda and Google Cloud Functions
MIT License
3.17k stars 289 forks source link

Warning: chrome-aws-lambda@10.1.0" has incorrect peer dependency "puppeteer-core@^10.1.0" #258

Open g-barbosa opened 2 years ago

g-barbosa commented 2 years ago

When I do yarn add chrome-aws-lambda I am getting the following warning:

warning > chrome-aws-lambda@10.1.0" has incorrect peer dependency "puppeteer-core@^10.1.0".

wiredots01 commented 2 years ago

same issue on my end. any updates on this issue?

g-barbosa commented 2 years ago

same issue on my end. any updates on this issue?

no updates :(

vp8081 commented 1 year ago

in order to resolve this issue we have to make sure we use the supported version of chrome-aws-lambda and puppeteer-core. you can find which puppeteer-core supported with which chrome-aws-lambda hear https://www.npmjs.com/package/chrome-aws-lambda under Versioning section. for me using "chrome-aws-lambda": "10.1.0", "puppeteer-core": "10.4.0" worked