I make use of Azure Static Web Apps a lot. I recently upgraded to Node.js 18 and found that the Static Web Apps CLI no longer worked when trying to run locally; the API would not connect when running swa start
:
[swa] ❌ Could not connect to "http://localhost:7071/". Is the server up and running?
This post shares a workaround.