#Cannot Run WAWebJS on Pterodactyl Panel

8 messages · Page 1 of 1 (latest)

stuck arrow
#

Error When Start:

            reject(new Error([
                   ^
Error: Failed to launch the browser process!
/home/container/node_modules/whatsapp-web.js/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/chrome: 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 (/home/container/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
    at Interface.<anonymous> (/home/container/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:231:68)
    at Interface.emit (node:events:525:35)
    at Interface.close (node:internal/readline/interface:533:10)
    at Socket.onend (node:internal/readline/interface:259:10)
    at Socket.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Node.js v18.16.0```

NodeJS v18.16.0
WaWebJS: github:pedroslopez/whatsapp-web.js#fix-buttons-list

ChatGPT Told me to run `sudo apt-get update` but i don't have accses to the console. (it's rented server)
low sundial
stuck arrow
#

how? i've installed puppeteer to my project.

#

it missing this file libnss3.so
ries: libnss3.so: cannot open shared object file: No such file or directory
idk how to get it

hearty plinth
#

sudo apt install -y gconf-service libgbm-dev libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget

#

Instal these packages. It will work properly

#

But i see you mentioned you dont have root access.
That mean you wont be able to control vm. Maybe you cant rub chromium or chrome on such instances

stuck arrow
#

oh