Questions tagged [swa-cli]
The swa-cli tag has no usage guidance.
10
questions
0
votes
0
answers
48
views
swa cli deployment error when deploying blazor wasm app
I'm getting the following error when trying to deploy to static web app
Deploying project to Azure Static Web Apps...
✖ Failed to contact content server, stopping...
✖ An unknown exception has ...
0
votes
0
answers
21
views
Is it possible to change the path of StaticSitesClient.exe used by the SWA CLI?
By default, the SWA CLI downloads and tries to run a dependency called StaticSitesClient.exe to os.homedir()/.swa/deploy. Is it possible to specify a different directory? In our environment this path ...
0
votes
1
answer
82
views
Azure SWA CLI - Localhost Cannot be Resolved
Ever since I upgraded @azure/static-web-apps-cli, things doesn't work as exepcted.
Thus, I'm re-reading the following doucmentation: https://azure.github.io/static-web-apps-cli/docs/cli/swa-start/
...
0
votes
0
answers
38
views
Azure SWA CLI deploy ignoring resource group
I'm using the Azure Static Web Apps CLI (SWA CLI) to deploy, but it appears to be ignoring the --resource-group command.
I have 2 separate resource groups within the same Azure subscription (same ...
2
votes
2
answers
298
views
SWA-CLI Data API Builder issue with Node v18.16.0 and unzipper
I am attempting to use SWA-CLI to run/debug a react web app in a PowerShell terminal in Visual Studio Code on my Windows PC. My setup is:
OS: Windows 10 Pro (10.0.19044 Build 19044)
VS Code: 1.78.2
...
2
votes
1
answer
261
views
Azure Static Web App Authentication, always crashing on debug
I am working on a Blazor client app with an azure functions API.
I have the Azure Static Web Apps CLI, and Azure function core tools, set up and working.
The problem is, when using the built-in social ...
1
vote
1
answer
69
views
How to prevent Azure CLI's `swa deploy` from creating a .ZIP folder?
Every time I deploy an Azure static web app using swa deploy, it creates an unnecessary .zip folder at the root of my application:
Found no option in the docs to disabled this, so for now I have to ...
0
votes
1
answer
337
views
Is it possible to use the swa-cli with existing Azure resources?
I have restricted access to a client Azure Resources. The client created a default static-webapp (let's call it "my-mvp") and a virtual machine for me to deploy a app and a api. I am not ...
2
votes
0
answers
978
views
Azure Static Web Apps CLI work with my blazor client app with an azure functions API
I have been trying to get Azure Static Web Apps CLI work with my blazor client app with an azure functions api. I can not debug locally and hit break points.
I have the most up to date version of the ...
1
vote
2
answers
345
views
How to logout Azure from swa-cli?
Azure SWA offer swa login command. What if I want to logout Azure account. What can I do? There is no swa logout command by default.