gpt4free-ts icon indicating copy to clipboard operation
gpt4free-ts copied to clipboard

Error: Failed to launch the browser process! [ Podman ]

Open webgtx opened this issue 1 year ago • 0 comments

Bug description Won't work with docker/podman when you running container podman run -it --rm gpt4free-ts

Environement Podman container

stdout:

> [email protected] start
> ts-node index.ts

browser pool init size:1

  Puppeteer old Headless deprecation warning:
    In the near feature `headless: true` will default to the new Headless mode
    for Chrome instead of the old Headless implementation. For more
    information, please see https://developer.chrome.com/articles/new-headless/.
    Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
    If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.

Error: Failed to launch the browser process!
Check failed: sys_chroot("/proc/self/fdinfo/") == 0


TROUBLESHOOTING: https://pptr.dev/troubleshooting

    at ChildProcess.onClose (/usr/src/app/node_modules/@puppeteer/browsers/src/launch.ts:398:11)
    at ChildProcess.emit (node:events:525:35)
    at ChildProcess.emit (node:domain:489:12)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

webgtx avatar May 18 '23 23:05 webgtx