-
Notifications
You must be signed in to change notification settings - Fork 22
Description
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!