-
Notifications
You must be signed in to change notification settings - Fork 35
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
macOS 11 Big Sur Apple Silicon M1 arm chip - local debugging won't work #322
Comments
Docker for M1 Tech Preview: https://www.docker.com/blog/download-and-try-the-tech-preview-of-docker-desktop-for-m1/ |
Local debugging now works on M1 with the Docker Tech Preview. Thus these five items are still running under Rosetta 2:
Consequently when having a development environment of Linux arm64 (say Ubuntu), items 1-3 are all arm64 so that's fine, but items 4 and 5 do not have the arm64 architecture, so local debugging will not work ('exec format error') until they are updated. The number of devs using a Linux arm64 dev environment is low so it's not a concern right now. I would think it will be similar for Windows 10 arm64 (but it has further challenges: there are no node.js binaries for Windows 10 ARM, nor is there a Docker for Windows ARM) |
There are a lot of issues with Docker Desktop for Mac 3.3.x (the first one with native M1 support): https://github.com/docker/for-mac/issues As of now, |
I think the issue is that our node Docker images are x86 only, when Docker Desktop is running on arm64. So at this point unless we have node10 and node12 arm64/universal Docker images (unlikely since node only supports arm for Darwin/macOS on node 15 and greater) -- run local development on arm is dead in the water, at least until we support node16. This is the same issue I reported regarding |
updated: we have nodejs:16 images now, but they are not multi-platform and still amd64. |
The nodejs:16 images are now multi platform. |
IssueThe node-16, and node-18 images are multi-platform, and the WorkaroundYou need to use
Then redeploy your action. |
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2541 |
There might be issues with running local debugging on macOS 11 Big Sur on M1 arm chips.
aio app run --local --verbose
.Double check if you have the M1 chip: run
aio info
.Local debugging requirements:
node.js
(should run under Rosetta 2, native binary pending: Apple silicon builds nodejs/build#2474)2.
java JRE
(should run under Rosetta 2, native binary pending: https://bugs.openjdk.java.net/browse/JDK-8251280)Docker
. will not run yet. See Docker fails to launch on Apple Silicon docker/for-mac#4733. A comment mentioned "it's months away", so realistically perhaps 1Q 2021.Because Docker won't run on Apple Silicon during the launch of the Apple machines with the M1 chip, local debugging won't work until Docker creates a new release fixing the issue.
The text was updated successfully, but these errors were encountered: