JS pupeteer issue
Hi,
I have a pupeteer chromium task that i want to run on the runpod which is written in typescript.
I did not see any JS handler. So, i am calling the JS entrypoint via python as below.
The above code works fine locally. But, when i deploy to serverless, it kicks off the yarn ts-node ... , but gets stuck and does not emit any logs and eventually times out.
Any advice?
25 Replies
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Awesome! Let me try that in the morning.
Looks like still stuck and does not emit log or proceeds

Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
i take that back. Its pupetteer launch issue.
I am launching pupeteer with these options
Looks like this gets stuck
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
It works fine locally 🤔
i am ssh'ing into the serverless and still seeing the same issue
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
its just stuck
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
There are no logs being emitted by
puppeteer.launch
I added logs before and after puppeteer.launch
and the log after launch doesnt get triggered.
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
yea. thats normal
it emits locally as well. Unrelated
Has anyone ran pupeteer successfully?
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
sure. Let me isolate keys and just keep the pupeteer code
This is the entire file
The entry point is
generateAndUploadVideoViaPuppeteer
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
got it!
trying
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View

Got this now
Is there something i need to turn on gpu support via dockerfile?
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Got it. Let me search around.