Closed idkroff closed 3 years ago
This helped me:
sudo apt-get update
sudo apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.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
sudo apt-get install -y libgbm-dev
**
Issue closed.
**
Go to:your_project_path/node_modules/puppeteer/.local-chromium/linux-856583/chrome-linux
(this will also serve as a check if you have chromium installed)
Then run:ldd chrome | grep not
(to see if any dependencies are missing)
For me (after I ran the installation from @Rhezashan) it turned out still be missing libgbm:libgbm.so.1 => not found
You can install it with:sudo apt-get install libgbm-dev
https://stackoverflow.com/questions/63823927/cannot-run-puppeteer-chromium-on-ubuntu/66456542#66456542
I'm trying to convert svg file to .png, but i have this error:
Operating System: Ubuntu 20.04.3 LTS Kernel: Linux 5.4.0-81-generic Architecture: x86-64