Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
583 stars 109 forks source link

Fix target core tool version detection when using Node 20 #835

Closed Timothyw0 closed 1 month ago

Timothyw0 commented 1 month ago

Resolves issue found while testing Node 20 & .NET 8 SWA deployments stating that Node 20 is not supported with Azure Functions Core Tools v4 which is not true 😄

Docs: https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-node?tabs=javascript%2Cwindows%2Cazure-cli&pivots=nodejs-model-v4

✖ Found Azure Functions Core Tools v4 which is incompatible with your current Node.js v20.8.1. ✖ See https://aka.ms/functions-node-versions for more information.