Skip to content

Cannot run swa deploy ./build --env production --deployment-token "$TOKEN" on MacOS #979

@AmazonTICmsi

Description

@AmazonTICmsi

I'm running the command swa deploy ./build --env production --deployment-token "$TOKEN" in macOS Tahoe, with node js 20 but when I deploy, get the next error:
Welcome to Azure Static Web Apps CLI (2.0.7)

Deploying front-end files from folder:
/Users/anon/repo/myproject/front/build

Deploying to environment: production

Found configuration file:
/Users/anon/repo/myproject/front/staticwebapp.config.json

Deploying project to Azure Static Web Apps...
⠋ Preparing deployment. Please wait...✖
✖ Deployment Failed :(
✖ Deployment Failure Reason: spawn Unknown system error -86
✖ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/azure/static-web-apps/

✖ If you believe this behavior is unexpected, please raise a GitHub issue at:
https://github.com/Azure/static-web-apps-cli/issues/new/choose

How can I get the solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions