Azure / Azure/static-web-apps-cli
Still Could not load StaticSitesClient metadata from remote after 2.0.4
- Vorherrschende Sprache
- TypeScript
- Sterne
- 668
- Forks
- 156
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, `swa deploy --deployment-token ` unter Windows 11 mit den gemeldeten `HTTP/S_PROXY`-Einstellungen zu reproduzieren, nachdem du `swa --version` überprüft hast. Verfolge die Metadatenanforderung des entfernten StaticSitesClient und ermittle, warum sie über den Proxy fehlschlägt; abgeschlossen ist die Aufgabe, wenn die Bereitstellung erfolgreich ist oder die CLI einen präzisen, umsetzbaren Fehler meldet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, azure, typescript
- Bereich
- cli, cloud, networking
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100