Closed indragunawan82 closed 3 years ago
This is a problem from puppeteer(chromium) side.
Please add '--disable-setuid-sandbox'
in the list of arguments array in constats.js
and try.
still same
I am assuming you are built the project again or running it wia npm run start
another thing which you can cross check is puppeteer requires following packages installed in order to run properly. Make sure you have them all.
sudo apt update && sudo apt install -y gconf-service libgbm 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
the above is for ubuntu.
still same ,
have u tried this in ubuntu 20?
Yes. Do one thing. Try to run hello world of puppeteer in headless mode. Once that is successful WBOT can run easily.
following discussion in here : https://github.com/puppeteer/puppeteer/issues/290
and tried this suggestion :
by adding parameter --headless in constants.js
it works,
After installation in linux, i got error :