Skip to content

Error: Failed to launch the browser process! #44

Description

@nort4n

I'm getting this error on Ubuntu and MacOS. Tried installing chromium. Can I redirect puppeteer to this installation? Any suggestions?

Scraper (setup): Launching puppeteer in the background...
Scraper (setup): An error occurred during setup.
/home/norman/dev/scrape-playground/scrape-playground/node_modules/linkedin-profile-scraper/node_modules/puppeteer/lib/launcher/BrowserRunner.js:189 
            reject(new Error([
                   ^

Error: Failed to launch the browser process!
/home/norman/dev/scrape-playground/scrape-playground/node_modules/linkedin-profile-scraper/node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory


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

    at onClose (/home/norman/dev/scrape-playground/scrape-playground/node_modules/linkedin-profile-scraper/node_modules/puppeteer/lib/launcher/BrowserRunner.js:189:20)
    at Interface.<anonymous> (/home/norman/dev/scrape-playground/scrape-playground/node_modules/linkedin-profile-scraper/node_modules/puppeteer/lib/launcher/BrowserRunner.js:179:65)
    at Interface.emit (node:events:525:35)
    at Interface.close (node:readline:590:8)
    at Socket.onend (node:readline:280:10)
    at Socket.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions