Node.JS Puppeteer: Failed to launch the browser.
I'm trying to do some webscraping with Node.Js, but when I use puppeteer, it gives me a error:
(node:88) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! /home/runner/SilentScraper/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
It seems to me like chromium doesn't exist: so I tried downloading it using sudo, which repl doesn't support i guess.
Is there a way I can fix this?
first why do you use chromium
@pepelaugh "Chromium is an open-sourced web browser project made by Google. ... While Chromium is a legitimate browser, its open-source code has made it unstable, full of bugs and a target for spreading viruses." Article by Panda Security
not sure but try this link>
if it helps please dont mark my answer correct.