claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.39k stars 93 forks source link

libnss3.so: cannot open shared object file #359

Closed remz1337 closed 9 months ago

remz1337 commented 1 year ago

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
remz1337 commented 1 year ago

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