claabs/epicgames-freegames-node

libnss3.so: cannot open shared object file

Closed this issue · 1 comments

Trying to install this manually in a Proxmox LXC (Ubuntu server 22.04). Following the steps:

  1. git clone the repo
  2. create json config
  3. install npm 18+
  4. run npm install
  5. run npm run start

I get the following error:

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

I needed to install 3rd party libraries:
sudo apt install libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libxcomposite-dev libxdamage1 libxrandr2 libgbm-dev libxkbcommon-x11-0 libpangocairo-1.0-0 libasound2