是否可以在带有容器的 AWS Lambda 中使用 puppeteer 运行 Google-chrome 而不是 Chromium?
\n当我在浏览器中创建新页面时脚本卡住:
\nconst page = await browser.newPage();\nRun Code Online (Sandbox Code Playgroud)\n来自 AWS lambda 的日志:
\nmkdir: cannot create directory \xe2\x80\x98/.local\xe2\x80\x99: Read-only file system\ntouch: cannot touch \xe2\x80\x98/.local/share/applications/mimeapps.list\xe2\x80\x99: No such file or directory\n/usr/bin/google-chrome-stable: line 45: /dev/fd/62: No such file or directory\n/usr/bin/google-chrome-stable: line 46: /dev/fd/62: No such file or directory\n[0213/000419.523205:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory\n[0213/000419.528197:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to …Run Code Online (Sandbox Code Playgroud)