static-web-apps-cli icon indicating copy to clipboard operation
static-web-apps-cli copied to clipboard

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

Open AmazonTICmsi opened this issue 2 months ago • 1 comments

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?

AmazonTICmsi avatar Nov 04 '25 05:11 AmazonTICmsi