question-mark
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.

--api flag not respected in Windows Powershell terminal

See original GitHub issue

Describe the bug Whenever I run swa start .\frontend\build --api .\api from the root of this repo https://github.com/microsoft/vscode-azureappservice/issues, it echoes No API found. Skipping. I’ve confirmed that this works on MacOS and I have Func Core CLI tools v3.0.3284 installed

To Reproduce Steps to reproduce the behavior:

  1. Clone and npm install/npm build project https://github.com/microsoft/vscode-azureappservice/issues
  2. From root, run command swa start .\frontend\build --api .\api
  3. API not found error

Expected behavior For the API folder to be recognized and start running the func core tools

Desktop (please complete the following information):

  • OS: Windows 10 Pro

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nturinskicommented, Mar 11, 2021

I can confirm that this is working! Thanks for all the hard work

image

One thing that’s missing from the stable release though is the app alerting you to where it is available, which I thought was a useful touch.

image

1reaction
manekinekkocommented, Mar 10, 2021

Thank you for the feedback @itpropro !

@nturinski would you mind trying running the CLI from the main branch? we’ve made some recent changes that might have fixed your issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Starting PowerShell/pwsh with '-WindowStyle hidden' should ...
People are reporting that the console does not respect the -WindowStyle hidden flag. This is unexpected to them. Repro1: [win]+R then type pwsh ......
Read more >
Introducing the Windows Pseudo Console (ConPTY)
In this, the fourth post in the Windows Command-Line series, we'll discuss the new Windows Pseudo Console (ConPTY) infrastructure and API ...
Read more >
The term 'node' is not recognized... In Powershell
If you installed NodeJs recently after opening the IDE like Visual Studio Code or any other IDE that includes the terminal you are...
Read more >
Command Line Flags - osquery - Read the Docs
Expect Linux, macOS, and Windows to include platform specific flags too. Most platform specific flags will control the OS API and library integrations...
Read more >
Windows PowerShell Commands Cheat Sheet - Comparitech
At its core, PowerShell allows the user to access: Command Prompt; PowerShell Commands .NET Framework API; Windows Management Instrumentation ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found