Puppeteer fails to launch on Windows
See original GitHub issueSteps to reproduce
- Puppeteer version: 1.12.2
- Platform / OS version: Windows 10 / 1809
- Node.js version: v11.6.0
await puppeteer.launch()
Error {
code: 'UNKNOWN',
errno: 'UNKNOWN',
syscall: 'spawn',
message: 'spawn UNKNOWN',
}
- 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
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:
- Created 5 years ago
- Reactions:4
- Comments:14 (1 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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