Azure / Azure/static-web-apps-cli
`swa start` can't find Azure Functions Core Tools
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
Before filing this issue, please ensure you're using the latest CLI by running `swa --version` and comparing to the latest version on [npm](https://www.npmjs.com/package/@azure/static-web-apps-cli).
**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`!
**ℹ️ NOTE: Make sure to enable debug logs when running any `swa` commands using `--verbose=silly`**
**Describe the bug**
A clear and concise description of what the bug is.
- I have Blazor WASM app as a front-end, and Azure Functions as a managed backend.
- When I run `swa start` locally, it keeps throwing that Azure Functions Core Tools is not installed or not found
- However, it's indeed installed the latest version of Azure Functions Core Tools.
**To Reproduce**
Steps to reproduce the behavior:
1. Clone [https://github.com/devkimchi/azure-easyauth-sample](https://github.com/devkimchi/azure-easyauth-sample)
1. Type in command `swa start`
1. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
- It should run without an error.
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: `Windows 11 Enterprise`
- Version: `24H2`
**Additional context**
Add any other context about the problem here.
- swa version: `2.0.2`
- func version: `4.0.6610`
- If I run the function app first with the command, `func start`, and attach it to the `swa start` command like `swa start --api-devserver-uri http://localhost:7071` it's fine.
Contributor guide
Assessment
This issue has not been assessed yet.