How I cant install puppeteer in digitalocean?

I am trying to deploy app website in digital ocean and I have this error: … Read more How I cant install puppeteer in digitalocean?

I am trying to deploy app website in digital ocean and I have this error:

reject(new Error([
^

Error: Failed to launch the browser process!
********/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libxshmfence.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 (********/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:197:20)
at Interface.<anonymous> (********/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:187:68)
at Interface.emit (node:events:402:35)
at Interface.close (node:readline:586:8)
at Socket.onend (node:readline:277:10)
at Socket.emit (node:events:402:35)
at endReadableNT (node:internal/streams/readable:1343:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

Source: JavaSript – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *