Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] libnss3.so: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: #305

Open
hkmsadek opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hkmsadek
Copy link

Hi there, it was working fine in nodejs 14 but aws lambda now no longer support 14. With version 20.x we get this error


{
    "errorType": "Error",
    "errorMessage": "Failed to launch the browser process!\n/tmp/chromium: error while loading shared libraries: libnss3.so: 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!",
        "/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:197:20)",
        "    at Interface.<anonymous> (/var/task/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:187:68)",
        "    at Interface.emit (node:events:531:35)",
        "    at Interface.emit (node:domain:488:12)",
        "    at Interface.close (node:internal/readline/interface:528:10)",
        "    at Socket.onend (node:internal/readline/interface:254:10)",
        "    at Socket.emit (node:events:531:35)",
        "    at Socket.emit (node:domain:488:12)",
        "    at endReadableNT (node:internal/streams/readable:1696:12)",
        "    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"
    ]
}


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@aoropeza @hkmsadek and others