Azure / Azure/static-web-apps-cli

Swa deploy fails with an unknown exception has occurred

Offen
#500 10 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @Reshmi-Sriram Auf GitHub ansehen
command: deploy scope: deploy-client status: investigating
Vorherrschende Sprache
TypeScript
Sterne
668
Forks
156
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the bug**
Running `swa deploy` always fails with:

```
Welcome to Azure Static Web Apps CLI (1.0.1)

Deploying front-end files from folder:
/private_path/Client/bin/publish/wwwroot

Deploying API from folder:
/private_path/Api

Checking Azure session...
✔ Successfully logged into Azure!

Checking project settings...
✔ Choose your Static Web App › app-rg/app-test
✔ Successfully setup project!

Deploying to environment: production


Found configuration file:
/private_path/Client/staticwebapp.config.json

Deploying project to Azure Static Web Apps...
✖ Failed to contact content server, stopping...
✖ An unknown exception has occurred
```

It manages to create the resource in Azure

**To Reproduce**
Steps to reproduce the behavior:

Running `swa deploy` with either `swa-cli.config.json` or manual parameters.

**Expected behavior**
Correct resources should be created and the app deployed.

**Desktop (please complete the following information):**

- OS: Ubuntu 22.04

**Additional context**

It's a blazor app with C# V4 functions Api.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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