bug: Failed to launch the browser process!
Victor1890 opened this issue · 1 comments
Victor1890 commented
Context:
I'm trying to build a PDF using this package, but when does work in production environment, I'm trying to solve this error, but I can't ("Sorry for my bad English")
- version (
md-to-pdf -v
): 5.2.4 - platform (Unix, macOS, Windows): Ubuntu 22.04 and Windows 11
- node version: 16.20.0
Describe the bug:
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.
Failed to launch the browser process!
/root/.cache/puppeteer/chrome/linux-113.0.5672.63/chrome-linux64/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory