Apify and Crawlee Official Forum

Home
Members
TylerDurden
T
TylerDurden
Offline, last seen 4 months ago
Joined August 30, 2024
Hi everyone. I've built a scrapping tool Using Crawlee and Playwright and while it runs successfully locally, when I deploy to apify, it gives me an error: Error processing sheet test-sheet: Failed to launch browser. Please check the following:
2024-06-11T16:04:09.691Z - Make sure your Dockerfile extends apify/actor-node-playwright-* (with a correct browser name).
2024-06-11T16:04:09.692Z - Try installing the required dependencies by running npx playwright install --with-deps (https://playwright.dev/docs/browsers).
2024-06-11T16:04:09.693Z
2024-06-11T16:04:09.694Z The original error is available in the cause property. Below is the error received when trying to launch a browser:
2024-06-11T16:04:09.695Z ​
2024-06-11T16:04:09.696Z browserType.launchPersistentContext: Executable doesn't exist at /root/.cache/ms-playwright/firefox-1449/firefox/firefox

Is there something I'm missing regarding the browser dependency and how it operates within Apify?
1 comment
M