Comments (10)
from chrome-aws-lambda.
Use @sparticuz/chromium
from chrome-aws-lambda.
@vsateesh86 Same on my side!
@talaikis I switched to @sparticuz/chromium, but after launching the browser the rest of the code is not exectuted as expected. The lambda runs into a timeout even though it is set to 60 seconds. When I used "chrome-aws-lambda" the code was working as expected. Any idea what might cause this?
EDIT
After updating the lambda node version to 20x the browser is launching as expected. The only issue I currently see is that the loading time is much longer than before. While my setup used to take like 25 seconds, it now takes around 50 seconds without major changes...
Which Lambda memory size do you recommend?
from chrome-aws-lambda.
yes getting same issue
from chrome-aws-lambda.
getting same issue
from chrome-aws-lambda.
Any update planned?
from chrome-aws-lambda.
Using this @sparticuz/chromium also getting same error. Could you please let me know any other solution for this.
from chrome-aws-lambda.
@8maxxam8 Which version of chrome-aws-lamda and puppeteer core you are using in the node20 runtime?
from chrome-aws-lambda.
@sripraveens yes I am using node20 runtime!
from chrome-aws-lambda.
@8maxxam8 Sorry I meant, which version of chrome-aws-lamda and puppeteer core you are using?
Because I was using the later version in node v14, now since v14 is not supported in lamda, In v20 this is not working for me
from chrome-aws-lambda.
Related Issues (20)
- is this project is active and new versions expected ? HOT 7
- [BUG] Screenshots are only getting inline styles, no css HOT 1
- [BUG] Is this project dead? No node16 support? HOT 1
- [BUG] Failed to launch the browser process!\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n", HOT 26
- Warning: Max serverless function size of 50 MB compressed or 250 MB uncompressed reached
- [REQUEST] Implement puppeteer-extra-plugin-stealth HOT 3
- [BUG] Images are not rendering in img tag or background-img HOT 6
- [REQUEST] Load chromium.font after launching Chromium
- [BUG] Why is puppeteer-core needed?
- [BUG] Cannot find module ...node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser' HOT 2
- Can't run Puppeteer in AWS Lambda. HOT 10
- [BUG] Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (901912).
- How can we implement x-ray?
- [REQUEST] ARM support on lambda HOT 2
- [BUG] runtime.unhandledpromiserejection
- [BUG] - Scrolling doesn't work in AWS Lambda HOT 1
- Module parse failed: Unexpected token (1:10) HOT 4
- Feature Request: Update Puppeteer & Chromium Packages to Latest Versions HOT 2
- [BUG] libnss3.so: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-aws-lambda.