Azure / Azure/static-web-apps-cli

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

Offen
#979 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
668
Forks
156
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere `swa deploy ./build --env production --deployment-token "$TOKEN"` unter macOS Tahoe mit Node.js 20 und beobachte den Fehler `spawn Unknown system error -86` während der Vorbereitung der Bereitstellung. Verfolge den Bereitstellungspfad der CLI, um den fehlschlagenden Subprozess zu identifizieren, und überprüfe anschließend, ob der Befehl erfolgreich bereitstellt oder ob Ursache und Workaround dokumentiert sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, macos, node.js
Bereich
cli, cloud
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.