Azure / Azure/static-web-apps-cli
Still Could not load StaticSitesClient metadata from remote after 2.0.4
- Lingua principale
- TypeScript
- Stelle
- 668
- Fork
- 156
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Before filing this issue, please ensure you're using the latest CLI by running `swa --version` and comparing to the latest version on [npm](https://www.npmjs.com/package/@azure/static-web-apps-cli).
**Are you accessing the CLI from the default port `:4280` ?**
- [ ] No, I am using a different port number (`--port`) and accessing the CLI from that port
- [x] Yes, I am accessing the CLI from port `:4280`
**Describe the bug**
A clear and concise description of what the bug is.
I'm on 2.0.4, latest at this date, trying to deploy an angular app on a SWA using CLI and still have "Could not load StaticSitesClient metadata from remote." error.
And I don't find how to fix it.

I'm using SWA CLI through an org proxy that I did setup in HTTP/S_PROXY variables and I can see it being used in the logs "Using proxy: ".
**To Reproduce**
I successfully followed the SWA documentation up to this point :
swa deploy --deployment-token
And then I have the error in the screen above.
**Expected behavior**
Success message or more precise on how to fix this issue.
**Desktop (please complete the following information):**
- OS: Win11
- Version: 23H2
I already read the previous post of past weeks but still could not manage to make it work.
Thanks for your help.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo `swa deploy --deployment-token ` su Windows 11 con le impostazioni `HTTP/S_PROXY` riportate, dopo aver verificato `swa --version`. Traccia la richiesta di metadati del StaticSitesClient remoto e determina perché fallisce tramite il proxy; il lavoro è completato quando il deployment ha esito positivo oppure la CLI segnala un errore preciso e azionabile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, azure, typescript
- Ambito
- cli, cloud, networking
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100