Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

puppeteer problem on ubuntu

See original GitHub issue


I’m using ubuntu 16.04 32bits with chromium and the latest version of nodejs.

When I try to do “website-evidence-collector https//” I get the two following errors : `(node:24893) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome! /home/myself/Desktop/myfolder/testwec/pyenv/wecapp/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: 1: /home/myself/Desktop/myfolder/testwec/pyenv/wecapp/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: Syntax error: Unterminated quoted string

(node:24893) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:24893) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

I took a look at puppeteer doc about troubleshooting on Ubuntu, so I did the command ldd chrome | grep not to see the eventual dependencies that might be missing. But none is detected.

What can I do to fix this problem ?

Thank in advance for your help.

Best regards Xavier

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

pythdaschcommented, May 18, 2020

@rriemann Thanks for your answer. I got it work but now I’ve to install it through docker. :p

I’ll create a new ticket for my questions.

thanks for your work 😃

koenrcommented, Jan 13, 2020

I have the same problem as bitnesswise but didn’t manage to install with his guidelines. I don’t have a folder ~/node_modules/puppeteer/.local-chromium. I have installed chromium through the Ubuntu package manager (18.04)

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: Puppeteer not launching browser in Ubuntu · Issue #8007
Install Puppeteer with pnpm: pnpm add puppeteer; Try to launch the browser; Error: Error: Could not find expected browser (chrome) locally. Run ...
Read more >
Cannot Run Puppeteer (Chromium) on Ubuntu - Stack Overflow
First check if any dependencies are missing. Go to: your_project_path/node_modules/puppeteer/.local ...
Read more >
Troubleshooting - Puppeteer
The most common cause is a bug in Node.js v14.0.0 which broke extract-zip , the module Puppeteer uses to extract browser downloads into...
Read more >
Puppeteer on Ubuntu 16.04 doesn't work
I fixed it. I had to update my Linux (sudo-apt get update) then get the libraries. It won't work if you don't update...
Read more >
Puppeteer - npm
Guides | API | FAQ | Contributing | Troubleshooting. Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found