Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu puppeteer 'executablePath' and launch issue #711

Closed
mityok opened this issue Sep 7, 2017 · 3 comments
Closed

Ubuntu puppeteer 'executablePath' and launch issue #711

mityok opened this issue Sep 7, 2017 · 3 comments

Comments

@mityok
Copy link

mityok commented Sep 7, 2017

I'm running puppeteer on ubuntu and i'm having issue with the latest chromium (62.0.3188.0) the puppeteer installs, for some reason it doesn't support ffmpeg, i've tried to use other revisions and pointing it to another (chrome) installation via 'executablePath'. but then the puppeteer just launches the browser and gets stuck on the launch.

any help would be greatly appreciated

@ebidel
Copy link
Contributor

ebidel commented Sep 7, 2017

Chromium doesn't support codecs like mp3 out of the box. You'll need an official distribution for that.

In the past, I've had success on ubunutu with the latest chrome package (chrome 62 now):

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &&\
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' &&\
apt-get update &&\
apt-get install -y google-chrome-unstable

You're using browser.launch({executablePath: 'google-chrome-unstable'});?

@mityok
Copy link
Author

mityok commented Sep 7, 2017

thank you! that really solved it.

@mityok mityok closed this as completed Sep 7, 2017
@Garbee
Copy link
Contributor

Garbee commented Sep 7, 2017

MP3 support should be coming to Chromium soon though. The patents have now expired to it. Not sure when the work on that is planned (having a hard time finding the issue in crbug.) But, Google Legal as I understand it has approved bringing it to the open-source side.

EDIT:

And found the tracking issue on MP3 coming to chromium. For posterity. This doesn't really help the immediate issue now though, but in the future at least it won't be a problem in this context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants