Azure / Azure/static-web-apps-cli

SWA not starting for node16 is installed but app is Python

Aperta
#568 1 commento 0 reazioni 1 assegnatario Rivendicata da @Reshmi-Sriram Vedi su GitHub
command: start priority: high (P0) runtime: python scope: core status: work in progress type: bug
Lingua principale
TypeScript
Stelle
668
Fork
156
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.