The actor can't start

Can someone help to looking to my actor? I got this error while start. My running log: runs/4wHMj7J2uLkrqVGM5#log
No description
4 Replies
metropolitan-bronze
metropolitan-bronze13mo ago
Hey @antan_se , Please use the following image in Dockerfile:
FROM apify/actor-node-puppeteer-chrome:20
FROM apify/actor-node-puppeteer-chrome:20
adverse-sapphire
adverse-sapphireOP13mo ago
Hello @Hamza, I tried, but still not working. My log of running https://api.apify.com/v2/logs/dYhIMKdpkbmiqaO3g
metropolitan-bronze
metropolitan-bronze13mo ago
You are getting the following error:
Could not resolve the browser instance => Error: Unable to launch browser, error message: Failed to launch the browser process! undefined
[32:32:0514/014345.129218:ERROR:ozone_platform_x11.cc(243)] Missing X server or $DISPLAY
Could not resolve the browser instance => Error: Unable to launch browser, error message: Failed to launch the browser process! undefined
[32:32:0514/014345.129218:ERROR:ozone_platform_x11.cc(243)] Missing X server or $DISPLAY
You can resolve this by setting the headless option to true Or by adding updating the run command in Dockerfile from: CMD npm start --silent to: CMD ./start_xvfb_and_run_cmd.sh && npm start --silent
adverse-sapphire
adverse-sapphireOP13mo ago
It worked, thank for you help @Hamza

Did you find this page helpful?