Next.js Discord

Discord Forum

Puppeteer support on 18x??

Unanswered
Alι_ Aryαɴ posted this in #help-forum
Open in Discord
Hi, I was using puppeteer in my project, but now node 14x no longer available in Vercel. My project stop working and mostly ppl facing the same issue

Here, the module & version which works with 14x on Vercel;
package.json
      "chrome-aws-lambda": "7.0.0",
      "puppeteer-core": "13.1.2"


Error, I'm getting after updating to node 18x;
Error: Failed to launch the browser process!
/tmp/chromium: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory


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

    at onClose (/var/task/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:229:20)
    at Interface.<anonymous> (/var/task/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:219:68)
    at Interface.emit (node:events:526:35)
    at Interface.close (node:internal/readline/interface:533:10)
    at Socket.onend (node:internal/readline/interface:259:10)
    at Socket.emit (node:events:526:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21

4 Replies

can i ask why you want to use node 14? it is way expired in lts, and doesn't have so many features that 18 has...
@riský can i ask why you want to use node 14? it is way expired in lts, and doesn't have so many features that 18 has...
No, I'm just asking why that module not working in 18x but works for 14x!?

Just wanted to know which version is comfortable with 18x
"IT'S ABOUT PATIENCE"

you have to wait for years for the right person, who can resolve your issue
No one here to help!?