Azure / Azure/static-web-apps-cli

The provided project name "undefined" was not found.

Offen
#726 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @Reshmi-Sriram Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
668
Forks
156
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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`

> Make sure you are accessing the URL printed in the console when running `swa start`!

**Describe the bug**
When I try to deploy my `wwwroot`, I get the above error after refusing to create a new app.

```
√ Would you like to create a new Azure Static Web Apps project? ... no
✖ The provided project name "undefined" was not found.
```

**To Reproduce**

1. Go to any folder with `index.html`
2. Run `swa` without parameters
3. Walk through until it asks you to create a project
4. Refuse a new project

**Expected behavior**
A meaningful error message (tell what parameter to set next time) or a request to enter the name of the existing project.

**Desktop (please complete the following information):**

- OS: Windows 11
- Version 22H2

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.