-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromium not found in actor-node-playwright-chrome #87
Comments
@B4nan you closed my issue due to being duplicate. Can you then provide a solution to the above issue. Thanks, |
Yes, closed because it is exact duplicate, there is no point in having two issues for the same. |
Ok, now can you give a solution to the issue? |
@B4nan anything mate? Are you just going to leave this open ended with no response. |
Hi @SFaraji, I gave up on using the apify Docker image and I am using the Playwright one
|
You ran it on AWS Elastic Beanstalk Docker running on 64bit Amazon Linux 2/3.5.3 as well? |
I am running it on my private VPS |
Thanks @vanekj I really appreciate all fixed. Just wondering is there any other way to get the necessary libraries for Playwright? Because it increased my Docker image size. |
Unfortunately I did not play with it more to strip down the size as I was happy it's working for my needs. |
AFAIK Apify packages are usually installed with |
I'm also experiencing the same issue, looks like it might be broken 😅 |
We're running hundreds of thousands of runs and thousands of builds on those images every day, they're not broken per se. But they might be broken in some specific configurations. Please provide a reproduction scenario or more information. We would like to help, but without more info there's no way how. |
I did post in another issue #91 where I'm using |
I also have exactly the same issue. |
Had the same issue. In my case, it's caused by the mismatch of the playwright version between in package.json and in docker image. For example, I follow the crawlee doc, specify In summary, this is my package.json: {
"dependencies": {
"@crawlee/playwright": "^3.3.0",
"playwright": "1.31.2",
}
} This is my base image: |
Thanks for sharing @kejiweixun. That's interesting. Are you using a lock file? |
@mnmkng Hi, I try to reproduce this issue, but couldn't. I changed lots of my code including the Dockerfile since I thought I "fixed" this issue, but I don't have a copy of my code when this issue occured. Now in my code, I change |
There are new releases of playwright (one landed just a few hours ago), so once we publish a new version of crawlee, the base docker image gets rebuilt and will contain a newer version - and I am afraid that will break it for you again. I feel like the pinning might be actually required to resolve this, as without it, you have two places that need to be synchronized but there is no link between them. NPM with |
Writing for future reference. I was having issues specifically deploying to Cloud Run using Further details of my error are in the mentioned issue. I solved for this by adding Good luck future Googler navigating this mess! 🫡 |
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.
Could you please help me, what can I change to make it work?
Thank you! 🙏🏻
Dockerfile
.dockerignore
Docker build command
Docker run command
The text was updated successfully, but these errors were encountered: