[Bug]: ubuntu shows some errors. release V19.0.0 #9218
See original GitHub issueBug description
hi i install the libraries.the problem still.
sudo apt install -y gconf-service libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 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 libappindicator3-1
Puppeteer version
19.0.0
Node.js version
16.7.1
npm version
8.15.0
What operating system are you seeing the problem on?
Linux
Configuration file
const puppeteer = require('puppeteer');
const moment = require('moment');
console.log(moment().format("YYYY-MM-DD HH:mm:ss"));
(async () => {
// const browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'] })
const pathToExtension = '/root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome';
const browser = await puppeteer.launch({
headless: true,
timeout: 0,
devtools: true,
executablePath: pathToExtension,
args:['--disable-infobars','--no-sandbox','--disable-setuid-sandbox']
});
const page = await browser.newPage();
await page.goto('https://www.google.com');
await page.screenshot({path: 'example110401.png'});
await browser.close();
})();
Relevant log output
[00:16:30] /root/workspace/pupperteer_WcJ8/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299
[00:16:30] reject(new Error([
[00:16:30] ^
[00:16:30]
[00:16:30] Error: Failed to launch the browser process!
[00:16:30] /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome)
[00:16:30] /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0: no version information available (required by /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome)
[00:16:30] /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome: symbol lookup error: /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome: undefined symbol: gbm_bo_get_modifier
[00:16:30]
[00:16:30]
[00:16:30] TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
[00:16:30]
[00:16:30] at onClose (/root/workspace/pupperteer_WcJ8/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299:20)
Issue Analytics
- State:
- Created 10 months ago
- Reactions:2
- Comments:5
Top Results From Across the Web
ubuntu shows some errors. release V19.0.0 #9218 - GitHub
This seems to be a problem with the chrome path. The error that is eventually reported after relying on the installation is difficult...
Read more >ErrorTracker - Ubuntu Wiki
Ubuntu's error tracker explains crashes, hangs, and other severe errors to end users; lets them report an error with the click of a...
Read more >Failed to fetch security undetermined error [IP: 91.189.91.38 ...
Revert your repositories list to the original Ubuntu Focal list by running the following command in the terminal:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
same problem
I was running an older version of the official Node 14 Docker distribution. Updating to the latest version for Node 14 solved the issue - it has a newer version of libgbm1 -
18.3.6-2+deb10u1
that contains thegbm_bo_get_modifier
symbol.