question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

M1 Mac can't run Azure Functions Core Tool with VS Code: brew tap azure/functions FAILS

See original GitHub issue

Using VS Code on M1 Mac to create Azure functions but it fails when it tries to install Azure Functions Core Tool:

The output is:

`5:16:09 PM: Running command: “brew tap azure/functions”… Updating Homebrew… ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 4 formulae.

5:16:19 PM: Finished running command: “brew tap azure/functions”. 5:16:19 PM: Running command: “brew install azure-functions-core-tools@3”… Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)! To rerun under ARM use: arch -arm64 brew install … To install under x86_64, install Homebrew into /usr/local. `

When I try to install Rosetta 2 I get a message saying it’s not required for my mac. Seems like the Azure Functions Core Tools need to be updated for M1 Macs.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
apawastcommented, Mar 4, 2021

@mrgithub unfortunately, we are currently waiting for the machine to be able to test this.

0reactions
ejizbacommented, Nov 18, 2021

Consolidating M1 issues. Will use https://github.com/Azure/azure-functions-core-tools/issues/2834 for tracking in core tools

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support running on M1 Macs · Issue #2834 · Azure ...
Update: Core tools support for M1 macs has been released for both npm ... M1 Mac can't run Azure Functions Core Tool with...
Read more >
How to develop python azure function my Mac with chip ...
Install the Azure Functions Core Tools. You can do this by opening a terminal window and running the following command: brew tap azure/functions...
Read more >
Work with Azure Functions Core Tools
Learn how to code and test Azure Functions from the command prompt or terminal on your local computer before you run them on...
Read more >
Azure Functions Core Tools with Python on Mac M1/M2 ...
If you have not yet installed python, there are two ways to install python: via brew or via pyenv. Using Homebrew (python 3.9...
Read more >
how to install azure functions on apple M1 pro, facing ...
I downloaded VS Code Universal. ran the function, it threw error for "you must have download azure function core tools". Used below commands...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found