LoginSignup
1
0

More than 1 year has passed since last update.

error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Posted at
file:///home/ec2-user/pup/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js:272
            reject(new Error([
                   ^

Error: Failed to launch the browser process!
/home/ec2-user/.cache/puppeteer/chrome/linux-1095492/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory


TROUBLESHOOTING: https://pptr.dev/troubleshooting

    at onClose (file:///home/ec2-user/pup/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js:272:20)
    at Interface.<anonymous> (file:///home/ec2-user/pup/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js:260:24)
    at Interface.emit (node:events:524:35)
    at Interface.close (node:internal/readline/interface:534:10)
    at Socket.onend (node:internal/readline/interface:260:10)
    at Socket.emit (node:events:524:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v19.7.0

libnss3をインストール

sudo apt install -y libnss3
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0