Not the solution, the error persists. Please check this topic: HTML to PDF Action - NodeJS & PHP [Open Source] - #15 by salvuccicarlos
I get this error after installing puppeteer-core:
message: "Failed to launch the browser process!\n/opt/node_app/node_modules/puppeteer/.local-chromium/linux-869685/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n"
stack: "Error: Failed to launch the browser process!\n/opt/node_app/node_modules/puppeteer/.local-chromium/linux-869685/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n\n at onClose (/opt/node_app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:194:20)\n at Interface. (/opt/node_app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:184:68)\n at Interface.emit (events.js:326:22)\n at Interface.close (readline.js:416:8)\n at Socket.onend (readline.js:194:10)\n at Socket.emit (events.js:326:22)\n at endReadableNT (_stream_readable.js:1241:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)"
status: "500"