Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

ERROR:zygote_host_impl_linux.cc(90) #148

Open
ShivamJoker opened this issue Mar 15, 2021 · 0 comments
Open

ERROR:zygote_host_impl_linux.cc(90) #148

ShivamJoker opened this issue Mar 15, 2021 · 0 comments

Comments

@ShivamJoker
Copy link

Error: Failed to launch the browser process!
[0315/160314.126675:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
    at Interface.<anonymous> (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
    at Interface.emit (events.js:327:22)
    at Interface.close (readline.js:424:8)
    at Socket.onend (readline.js:202:10)
    at Socket.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
error Command failed with exit code 1.

I already tried everything but still the puppeteer is not running I am using macOSx catlina
I am passing the args as well

      args: [
        "--no-sandbox",
        "--disable-setuid-sandbox",
        // This will write shared memory files into /tmp instead of /dev/shm,
        // because Docker’s default for /dev/shm is 64MB
        "--disable-dev-shm-usage",
      ],

but still getting the same error tried with latest version and buildkite/puppeteer:7.1.0 as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant