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

feat(launcher): fix installation error on Apple M1 chips #7099

Merged
merged 4 commits into from Apr 19, 2021

Conversation

marvinhagemeister
Copy link
Contributor

@marvinhagemeister marvinhagemeister commented Apr 18, 2021

The previous logic assumed that an arm64 arch is only available in Linux. WIth Apple's arm64 M1 Chip this assumption isn't true anymore.

Currently there are no official MacOS arm64 chromium builds available, but we can make use of the excellent Rosetta feature in MacOS that allows us to run x86 binaries on M1.

Once official native MacOS arm64 chromium builds are available we should switch to those.

Fixes #6622

The previous logic assumed that an arm64 arch is only available in
Linux. WIth Apple's arm64 M1 Chip this assumption isn't true anymore.

Currently there are no official MacOS arm64 chromium builds available,
but we can make use of the excellent Rosetta feature in MacOS that
allows us to run x86 binaries on M1.

Once native MacOS arm64 chromium builds are available we should switch to
those.

Fixes puppeteer#6622
@google-cla google-cla bot added the cla: yes label Apr 18, 2021
src/node/BrowserFetcher.ts Outdated Show resolved Hide resolved
src/node/Launcher.ts Outdated Show resolved Hide resolved
src/node/install.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installation fails on Apple Silicon / M1
2 participants