Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Questions: swa start

See original GitHub issue

Have a few questions about parts of the start command that are unclear…

  • What’s the “context” and how does that differ from appLocation or appArtifactLocation?
    • If I have a folder named static and I want to serve it, it seems like the only way to make this work is to set the context: swa start ./static. swa start --app-location ./static (or using --app) doesn’t seem to work.
  • How does it select the workflow file to use, especially if there’s more than one?
  • What does it use from the workflow?
  • How does --build work?
  • How does it determine which config file to use? #125

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

Divyesh85commented, Jan 1, 2022

@Reshmi-Sriram sorry for late reply due to holidays, i was able to resolve the issue, seems by default when i was trying to install azure functions and azure static webapps cli on VS code terminal it was not installing using the administrator mode hence was not able to install properly. I tried it in separate command prompt as an admin and it went well. Thanks for the prompt reply though.

Reshmi-Sriramcommented, Dec 28, 2021

Hi @Divyesh85 ,

Sorry that you faced this issue. Could you please confirm if you followed the Installation steps mentioned above? One usually comes across this error when the SWA CLI is not installed, hence the bash is not able to recognise the command swa

Also, it would be great if you could help us repro the error by sharing your project in a public repository if possible. Hope this helps!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Help Center
Find answers to all of our frequently asked questions and view common FAQ topics regarding your travel experience when you fly with Southwest...
Read more >
Southwest Airlines Interview Questions [Includes Prep Quiz]
Here you will find frequently asked Southwest Interview Questions and Answers ... good place to start; Be prepared for situational-type interview questions.
Read more >
Southwest Airlines Interview Questions
Describe a situation where you had to prioritize situations for the overall good. Answer Question. Be the first to find this interview helpful....
Read more >
51 Southwest Airlines Flight Attendant Interview Study ...
Free Southwest Airlines Flight Attendant Interview Study Guide Questions and Answers. Tell me how you apply our SWA servant's heart award/SWA warrior spirit ......
Read more >
Set up local development for Azure Static Web Apps
When you use the swa-cli.config.json file, you can run swa start to launch your ... Answer the questions posed by the CLI to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found