Questions tagged [swa-cli]
7 questions
2
votes
2 answers
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
PowerShell: 5.1.19041.2673
SWA-CLI: 1.1.2
Node.js:…

James98
- 38
- 5
2
votes
1 answer
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 authentication, it is crashing instantly when…

Ashley Kilgour
- 1,110
- 2
- 15
- 33
1
vote
1 answer
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 delete these folders manually every time I make a…

gnarois
- 199
- 1
- 4
- 11
1
vote
0 answers
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 SWA CLI.
When I run
swa --version
I get back the…

Ashley Kilgour
- 1,110
- 2
- 15
- 33
1
vote
2 answers
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.

Will Huang
- 2,955
- 2
- 37
- 90
0
votes
0 answers
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 tenant), with each resource group containing a Static…

darian
- 1
- 1
0
votes
0 answers
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 allowed to create any new static-webapps or any other service.…

Bram Leffers
- 33
- 1
- 6