Azure / Azure/static-web-apps-cli

The provided project name "undefined" was not found.

オープン
#726 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Reshmi-Sriram がすでに取り組んでいます。

2023年7月13日 から。

主要言語
TypeScript
スター
668
フォーク
155
PR マージ指標
30日以内にマージされた PR はありません

説明

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
  • 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。