我尝试在Docker容器中使用Apify,但出现了一个奇怪的错误 这是Dockerfile: FROM apify/actor-node-chrome
RUN ./setup.sh 这是setup.sh #!Puppeteer {"headless":true,"args":["--no-sandbox","--user-agent=Moz
browser-provider-electron:spawn:stderr [122:0520/185130.933152:FATAL:atom_main_delegate.cc(211)] Running as rootwithout --no-sandbox is not supported./app"没有headless,一切都运行得很好。
我已经尝试在几个点上插入--no-sandbox,无论是否使用xvfb。
Error: Failed to launch chrome![1205/063825.588245:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not发射木偶架 args: ['--no-sandbox'],})
解决了问题。为什么没有头的C
我使用create-nuxt-app命令启动了一个新项目,并选择Nightwatch作为测试框架。在本地,Chrome和Geckodriver (firefox)都能正常工作: Nightwatch启动并进行OK测试。但是在Github的行动中,Chrome和Geckodriver都不起作用。Chrome抛出此错误:
Error: An error occurred while retrieving a new session: "unknown error: Chrome f