Running latest version of azure-functions-core tools and typing into my VS Code console:
swa start http://localhost:5000 --api-location ./api
I get a couple of lines of red text in response, and nothing more:
Found Azure Functions Core Tools v4 which is incompatible with your current Node.js v21.7.1.https://aka.ms/functions-node-versions for more information.
I was originally using Node LTS 20.11.1 on 64-bit Windows, everything up to date.
I then optimistically tried 21.7.1 [as above] - well you never know - but ended up regressing to 18.19.1, which works as expected.
I can't believe no one else has that problem... but couldn't google it down, so possibly it's something else entirely, but here you go anyway.
Exact same behavior here.
Is it related to the way swa cli uses azure-functions-core-tools ?
The tools themselves seem to support higher Node version.
Downgraded to Node 18 and it works (but it's a pain)
Running latest version of azure-functions-core tools and typing into my VS Code console:
swa start http://localhost:5000 --api-location ./api
I get a couple of lines of red text in response, and nothing more:
Found Azure Functions Core Tools v4 which is incompatible with your current Node.js v21.7.1.
https://aka.ms/functions-node-versions for more information.
I was originally using Node LTS 20.11.1 on 64-bit Windows, everything up to date. I then optimistically tried 21.7.1 [as above] - well you never know - but ended up regressing to 18.19.1, which works as expected.
I can't believe no one else has that problem... but couldn't google it down, so possibly it's something else entirely, but here you go anyway.