Skip to content

Error with azd up on m1 mac in devcontainer #33

@prodgers1

Description

@prodgers1

Hello,

I am seeing an error when attempting to deploy to azure using the azd up command that is outlined in the README. I am on an m1 mac using a devcontainer within VS code. I am able to run the function locally, but seeing the following error during the deployment:

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: 
creating template: failed to compile bicep template: failed running bicep build: signal: aborted, stdout: , 
stderr: Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Text.RegularExpressions.Regex.CreateRunner()

When looking for others that may have encountered the same issue, I found this other github issue on a separate repo that claims to have a workaround. When I use this suggested fix, I encounter further errors with not being able to find required packages defined in this repo (Azure Function Tools is a common one that I encounter that says it "cannot be found").

I'm curious to know if there is any workaround that you've found that has worked for deploying this on a m1 mac using devcontainers?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions