ambitious-aqua
ambitious-aqua•2y ago

Deployment fails - Failed to launch browser.

I am trying to deploy on render and getting this Error - error: Failed to launch browser. Please check the following: - Try installing the required dependencies by running npx playwright install --with-deps (https://playwright.dev/docs/browsers). The original error is available in the cause property. Below is the error received when trying to launch a browser: tried adding this install command after build but no help. Repo - https://github.com/kunal00000/DocuConvo/tree/main/packages/core
GitHub
DocuConvo/packages/core at main · kunal00000/DocuConvo
Don't just read through docs. Converse with them. Contribute to kunal00000/DocuConvo development by creating an account on GitHub.
5 Replies
Lukas Krivka
Lukas Krivka•2y ago
please update Crawlee version to latest, it should print more accurate error. And of course make sure you have playwright installed together with browsers
ambitious-aqua
ambitious-aqua•16mo ago
same error, have you found a way to fix it?
ambitious-aqua
ambitious-aquaOP•16mo ago
Switched from playwright to cheerio as I couldn't find a fix for deployment.
MEE6
MEE6•16mo ago
@Kunal Verma just advanced to level 2! Thanks for your contributions! 🎉
stormy-gold
stormy-gold•16mo ago
@Kunal Verma just faced this issue with deploying to GCP, try solving as explained in this issue: https://github.com/apify/apify-actor-docker/issues/87#ref-commit-c8cc9e1
GitHub
Chromium not found in actor-node-playwright-chrome · Issue #87 · ap...
Hello! I ran into an issue while configuring my crawler Dockerfile with apify/actor-node-playwright-chrome image. When I build and run my Dockerfile, I get this error and it stops. ERROR Playwright...

Did you find this page helpful?