Open lostmsu opened 11 months ago
Are you accessing the CLI from the default port :4280 ?
:4280
--port
Make sure you are accessing the URL printed in the console when running swa start!
swa start
Describe the bug When I try to deploy my wwwroot, I get the above error after refusing to create a new app.
wwwroot
√ Would you like to create a new Azure Static Web Apps project? ... no ✖ The provided project name "undefined" was not found.
To Reproduce
index.html
swa
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):
I hit this today also, as a workaround you can use swa deploy --app-name <your app name>.
swa deploy --app-name <your app name>
Docs here: https://azure.github.io/static-web-apps-cli/docs/cli/swa-deploy/
Are you accessing the CLI from the default port
:4280
?--port
) and accessing the CLI from that port:4280
Describe the bug When I try to deploy my
wwwroot
, I get the above error after refusing to create a new app.To Reproduce
index.html
swa
without parametersExpected 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):