question-mark
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 fails to launch on Windows

See original GitHub issue

Steps to reproduce

  • Puppeteer version: 1.12.2
  • Platform / OS version: Windows 10 / 1809
  • Node.js version: v11.6.0
  1. await puppeteer.launch()
  Error {
    code: 'UNKNOWN',
    errno: 'UNKNOWN',
    syscall: 'spawn',
    message: 'spawn UNKNOWN',
  }
  1. Running chrome.exe manually

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

I’m not sure this is a Puppeteer/Chromium bug

2

click the GIF to zoom

Make sure to watch the whole GIF till the end.

Sometimes if I copy chrome-win manually into node_modules\puppeteer\.local-chromium\win64-624492 I get that error too. So I believe its Windows fault, just not sure what to do with such information… This occurs randomly.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
Volunecommented, Jan 2, 2020

Don’t know if it’s related to the initial issue or not, but having the same problem (same error from chrome.exe), I realized in my case it is caused by the project folder having the case sensitive attribute enabled.

Fixed it by running fsutil.exe file setCaseSensitiveInfo . disable in the project folder, then reinstalling dependencies

4reactions
meotimdihiacommented, Mar 6, 2019

explorer_2019-03-06_09-18-58

Read more comments on GitHub >

github_iconTop Results From Across the Web

puppeteer/troubleshooting.md at main - GitHub
This means that the browser was downloaded but failed to be extracted correctly. The most common cause is a bug in Node.js v14.0.0...
Read more >
Puppeteer fails to connect to Chromium on Windows 10
A headless browser launching in the background and no console error. What happens instead? chrome.exe is run without any command line switch, ...
Read more >
Failed to launch the browser process! puppeteer - YouTube
node_modules/ puppeteer /.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libatk-bridge-2.0.so.0: ...
Read more >
Failed to launch the browser process! spawn puppeteer Code ...
error failed to launch the browser process puppeteer ; 1. // Puppeteer Error on ubuntu 100% Correct Solution by Vivek ; 2. wget...
Read more >
Error: Failed to launch the browser process puppeteer-node.js
score:79. Accepted answer. I had the same issue, I tried everything which is listed from the Puppeteer guide, none of them worked for...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found