Azure / Azure/static-web-apps-cli

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

Open
#979 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
668
Forks
156
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.