Is raspberry pi 3 b+ compatible? Failed to launch.
See original GitHub issueTell us about your environment:
- Puppeteer version: 1.13.0
- Platform / OS version: raspberry pi 3 b+, ubuntu mate
- URLs (if applicable):
- Node.js version: 8.10.0
What steps will reproduce the problem?
const browser = await puppeteer.launch({
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox']
});
this gives me error message
Error: Failed to launch chrome!
/home/xxxx/.../node_modules/puppeteer/.local-chromium/liniux-641577/chrome-linux/chrome: Syntax error: word unexpected (expecting ") "
So i tried adding executablePath, for instance (not sure if this is valid though)
const browser = await puppeteer.launch({
headless: true,
executablePath: '/home/xxxx/.../node_modules/puppeteer/.local-chromium/liniux-641577/chrome-linux/chrome',
args: ['--no-sandbox', '--disable-setuid-sandbox']
});
but it gave me
Error: Failed to launch chrome! spawn
/home/xxxx/.../node_modules/puppeteer/.local-chromium/liniux-641577/chrome-linux/chrome ENOENT
and if i do chromium-browser --version
it says
Chromium 73.0.3683.75 Built on Ubuntu, running on Ubuntu 18.04
Thank you guys.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Raspberry Pi 3 B+ error
If you have an even older version of Raspbian (Jessie/Wheezy) it is not compatible and you need to start over with the latest...
Read more >Raspberry Pi 3 B+ - Service start failed | 3CX Forums
Installation of 3CX is going fine and operation is no problem, but if we restart the Raspberry Pi Services fail to start:
Read more >7 Causes for a Raspberry Pi That Won't Boot (And How to Fix ...
2. Raspberry Pi Not Booting? Check the Red and Green LEDs · 3 flashes: start.elf not found · 4 flashes: start.elf cannot launch,...
Read more >[Solved] Raspberry Pi Not Booting? Here are 14 Ways to Fix!
One of the commonest reasons for the Raspberry Pi not booting is the flashing of incompatible OS on the microSD card. Raspberry Pi...
Read more >Raspberry Pi 3 model b+ run on boot problem - MathWorks
I get this error when I activate run on boot option in Simulink for Raspberry Pi 3 model b+ and I can't find...
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
solved.
Try using your chromium-browser, rather than Puppeteer’s chrome which might not work on the PI’s ARM architecture.
const browser = await puppeteer.launch({ executablePath: 'chromium-browser' });
I had to do this on a PI 4.