Open X3Zero opened 4 months ago
try with node 20 or 21
NODE_OPTIONS='--trace-deprecation'
sudo apt-get update -y then -> sudo apt install -y libatk-bridge2.0-0 && sudo apt install -y libxkbcommon-x11-0 && sudo apt-get install -y libxdamage-dev
sudo apt-get install chromium-browser
sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 li-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 li libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm-dev
In case of chromium issue :
node node_modules/puppeteer/install.js
Please try to uninstall whatsapp-web.js dependency from package.json and reinstall it again.
I've been trying to get this work and I've encountered this requires not only Node.js/npm as indicated but also Puppeteer and Chromium to work.
I'm using a shared hosting to deploy it, Database is connected, Node/Npm works, however I keep running into this:
I would appreciate any kind of help fixing these puppeteer errors. Thank you.