Questions tagged [apple-m1]

NOTICE: Questions using this tag must be related to programming, your question will risk being closed otherwise. Do not use if you are discussing software or operating system subjects. If you need support you can try https://apple.stackexchange.com.

Apple M1 is an ARM based system on a chip designed by Apple Inc.

2791 questions
25
votes
8 answers

Unable to run git on Mac OS Big Sur

Unable to run git on new MacBook running Big Sur When I try to run git, I receive the following error: xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): could not use…
kdub1312
  • 803
  • 2
  • 9
  • 19
24
votes
11 answers

Mac M1 chip issues with rosetta, “attachment of code signature supplement failed: 1”

I recently got a Mac with the apple M1 chip and I am having numerous problems running libraries and applications. One such example is numpy. To provide context, I installed Python 3.9 and pip3 and then decided to use pip to install numpy. To test if…
tcglezen
  • 456
  • 1
  • 4
  • 12
24
votes
5 answers

MAC M1 Something went wrong installing the "sharp" module

Running npm run dev (gatsby develop) on MacBook Pro M1 chip exit with Error: Something went wrong installing the "sharp" module Running npm run dev MacBook Pro intel chip works fine. I've seen similar post which did not solved my problem : When…
crg
  • 4,284
  • 2
  • 29
  • 57
24
votes
6 answers

How to install and start MySQL 5.7 on macOS BigSur (Apple Silicon) with Homebrew?

I need a specific version of MySQL (5.7) to be installed on my MacBook with M1. I'm trying to do that with Homebrew. brew install mysql@5.7 The output: We've installed your MySQL database without a root password. To secure it run: …
Vitalii
  • 383
  • 1
  • 2
  • 8
23
votes
4 answers

Will x64 jdk-1.8 work in Mac with Apple Silicon (M1) Chip?

I am trying to have JDK 8 run with cassandra 3.x in my dev-setup Mac with M1Pro Chip. Arm64 jdk-8 is currently unavailable currently.
Sahil Ummer
  • 455
  • 1
  • 2
  • 9
23
votes
2 answers

Credential saving error when connecting to service on docker

I am on a silicon chip Macbook Pro running macOS Monterey version 12.0.1 and the following error occurs on attempting to connect to the NGC service using sudo docker login ncvr.io. Error saving credentials: error storing credentials - err: exit…
Daemonique
  • 468
  • 2
  • 5
  • 15
23
votes
6 answers

How can I get `terraform init` to run on my Apple Silicon Macbook Pro for the Google Provider?

When I run terraform init for my Google Cloud Platform project on my Apple Silicon macbook pro I get this error. Provider registry.terraform.io/hashicorp/google v3.57.0 does not have a package available for your current platform, darwin_arm64. How…
reka18
  • 7,440
  • 5
  • 16
  • 37
22
votes
2 answers

WARN: Unable to load JNA library (OS: Mac OS X 12.2) warning when running flutter app on release mode. (M1 Mac)

I built a simple tic-tac-toe app on Flutter. It works in debug mode without any problem, but when I run it in release mode it gives me an error: WARN: Unable to load JNA library (OS: Mac OS X 12.2) java.lang.UnsatisfiedLinkError:…
Rza İsmayıl
  • 370
  • 1
  • 2
  • 7
21
votes
1 answer

installing python@3.7 MacBook Air m1 problem

I am gettin following error while installing python3.7 on MacBook air m1 2020. I run the following command: brew install python@3.7 The following error is thrown: python@3.7: The x86_64 architecture is required for this software. Error: python@3.7:…
Celik
  • 2,311
  • 2
  • 32
  • 54
21
votes
3 answers

How to replace the bundled Dart SDK in Flutter to run natively on Apple Silicon (ARM64)?

Dart SDK officially supports ARM64 and as of now, 2.14.2 is the latest (stable) Dart SDK that has support for ARM64. Though it was the same version that was bundled in my Flutter setup, it seemed to run on Intel architecture (Activity monitor shows…
Ashwin
  • 353
  • 4
  • 11
21
votes
3 answers

New RN project in M1 mbp built failed. "Could not find node. Make sure it is in bash PATH or set the NODE_BINARY environment variable."

System: OS: macOS 11.3 CPU: (8) arm64 Apple M1 Memory: 124.86 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.0.0 - /opt/homebrew/bin/node Yarn: Not Found npm: 7.10.0 - /opt/homebrew/bin/npm Watchman: Not…
pekanchuan
  • 867
  • 1
  • 6
  • 11
21
votes
4 answers

Keep running into the same deployment error (Exec Format Error) when pushing Node.js Docker from local (Apple M1) to Heroku

Error I get when releasing image 2021-04-07T06:30:58.443089+00:00 heroku[web.1]: Starting process with command `node index.js` 2021-04-07T06:31:01.899268+00:00 app[web.1]: Error: Exec format error I went back to the most simple node.js code that…
Jinxvar
  • 871
  • 6
  • 8
20
votes
6 answers

Not able to copy+paste in Android emulator with Apple silicon m1

Android emulator API version: 32, arm64-v8a Android studio bumblebee 2021.1.1 patch 3 Mac OS version: 12.3.1 I am trying to copy text from emulator and past that text to mac. It was working in intel + android emulator. Looks like the emulator is…
Akshay
  • 752
  • 1
  • 8
  • 25
20
votes
8 answers

Cannot run debug Go using VSCode on Mac M1

I found a topic that encounter the same problem (Can't debug Golang in vscode apple m1) but I'm not sure it's an old solution or not because I'm using the Go version go1.17.1 darwin/arm64 with dlv version 1.7.2 and VSCode version 1.60.2…
cross_knight
  • 235
  • 1
  • 3
  • 7
20
votes
3 answers

How to run Pytorch on Macbook pro (M1) GPU?

I tried to train a model using PyTorch on my Macbook pro. It uses the new generation apple M1 CPU. However, PyTorch couldn't recognize my GPUs. GPU available: False, used: False TPU available: False, using: 0 TPU cores IPU available: False, using: 0…
pesehr
  • 787
  • 2
  • 9
  • 23