Azure / Azure/static-web-apps-cli

"Swa deploy" keeps hanging regardless of input parameters.

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

Description

Version: 2.0.4 (also present in 2.0.2)
Port: 4280

**Describe the bug**
Regardless of what I do (sign out of Azure/SWA, deinstall SWA entirely, include/remove config files like staticwebapp.config.json, remove static web app and make a new one, shut down IIS or any other processes that may have been hanging since _swa start_) or what input parameters I give (env=, appname, deployment-token, etc etc) the deployment _always_ hangs in the following way:

![Image](https://github.com/user-attachments/assets/ab1c03c3-ade8-4004-ba32-790a804a3963)
The moment it hits the last line, the entire process deadlocks.

**To Reproduce**
Command:
swa deploy ./Output --env Production --verbose=silly --deployment-token [Token]

**Desktop:**
Windows 11, happens on any CLI I open: Powershell, CMD, even GIT terminal.

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.