Azure / Azure/static-web-apps-cli
SWA not starting for node16 is installed but app is Python
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
**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.
**To Reproduce**
I get the following when trying to start the SWA on a Python functions project:
```console
$ swa start app --api-location api
Welcome to Azure Static Web Apps CLI (1.0.2)
***********************************************************************
* WARNING: This emulator may not match the cloud environment exactly. *
* Always deploy and test your app in Azure. *
***********************************************************************
✖ Found Azure Functions Core Tools v4 which is incompatible with your current Node.js v18.0.0.
✖ See https://aka.ms/functions-node-versions for more information.
```
Yes, I have node.js 18 installed, but this is a Python project (and the functions CLI works fine)
Contributor guide
Assessment
This issue has not been assessed yet.