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

Failed to launch the browser process! (Apple Silicon) #33

Open
turian opened this issue May 4, 2023 · 3 comments
Open

Failed to launch the browser process! (Apple Silicon) #33

turian opened this issue May 4, 2023 · 3 comments

Comments

@turian
Copy link

turian commented May 4, 2023

Running from the README:

joseph@Josephs-MacBook-Air ~/d/easypin (fastapi2)> docker pull capsulecode/singlefile                                                                                                                                                                  (base)


Using default tag: latest
latest: Pulling from capsulecode/singlefile
8921db27df28: Pull complete
7acbef36938e: Pull complete
d8066cda4048: Pull complete
04686419c3aa: Pull complete
4f4fb700ef54: Pull complete
198871f01b71: Pull complete
7eac83a8531f: Pull complete
Digest: sha256:f307b2b87df68835c5397b7f7e77a55af8e1abfea140cbc15c49d6d89e1b4b52
Status: Downloaded newer image for capsulecode/singlefile:latest
docker.io/capsulecode/singlefile:latest
joseph@Josephs-MacBook-Air ~/d/easypin (fastapi2)> docker tag capsulecode/singlefile singlefile                                                                                                                                                        (base)


joseph@Josephs-MacBook-Air ~/d/easypin (fastapi2)> docker run singlefile "https://www.wikipedia.org"                                                                                                                                                   (base)
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Failed to launch the browser process!
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 11 (Segmentation fault) - core dumped


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

This is on OSX.

@gildas-lormeau
Copy link
Owner

gildas-lormeau commented May 18, 2023

Is your CPU an Apple Silicon (M1 or M2) or an Intel CPU?

@viranribic
Copy link

Encountered the same problem on M1 Apple Silicon. Solutions was to follow "Manual installation" Docker build steps described in README.md:

git clone --depth 1 --recursive https://github.com/gildas-lormeau/single-file-cli.git

cd single-file-cli

docker build --no-cache -t singlefile .

Running commands like docker run singlefile "https://www.wikipedia.org" then worked without issue.

@turian
Copy link
Author

turian commented Jul 15, 2023

Is your CPU an Apple Silicon (M1 or M2) or an Intel CPU?

Apple Silicon

@gildas-lormeau gildas-lormeau changed the title Failed to launch the browser process! Failed to launch the browser process! (Apple Silicon) Jul 20, 2023
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