Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node version on Windows? #3621

Open
phil-w opened this issue Mar 13, 2024 · 1 comment
Open

Node version on Windows? #3621

phil-w opened this issue Mar 13, 2024 · 1 comment

Comments

@phil-w
Copy link

phil-w commented Mar 13, 2024

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.

@cmalosse
Copy link

cmalosse commented Mar 29, 2024

This is actually an issue of swa cli : see here

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants