You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running ( func start ) my function - I get the following error message:
[error] Node.js version is too low. The version you are using is v11.6.0,
but the runtime requires an Active LTS or Current version (ex: 8.11.1 or 10.6.0).
For deployed code, change WEBSITE_NODE_DEFAULT_VERSION in App Settings.
Locally, upgrade the node version used by your machine
(make sure to quit and restart your code editor to pick up the changes).). node exited with code 1
As you can see - I'm running 11.6.0 at the moment, the error states the version is too low, whereas - in fact - mine is too high.
So the error is a bit off of course, but also, I really would prefer not having to downgrade my version of Node. So is the version check code wrong and is this an error, but the could would still run? Or do I need to install really THAT specific version?
The text was updated successfully, but these errors were encountered:
This was just an incorrect error message. It looks like it was already fixed in the code, and should be fixed in the next release of the Node language worker.
Sorry, to miss the actual part of your question: to the best of my knowledge, the version does need to be that specific major version when running locally (i.e. you need to have node version 8 or version 10 on your machine). This is best practice anyways, so that when you test locally, it is running the same major version as in your production environment.
You can install multiple versions of Node side by side, and use a tool like nvm to easily switch between them.
In general, our policy is to support LTS major versions. As you can see 11 is not an LTS release, so we will not be supporting it in Azure Functions. I hope that this addresses your question.
While running (
func start
) my function - I get the following error message:As you can see - I'm running 11.6.0 at the moment, the error states the version is too low, whereas - in fact - mine is too high.
So the error is a bit off of course, but also, I really would prefer not having to downgrade my version of Node. So is the version check code wrong and is this an error, but the could would still run? Or do I need to install really THAT specific version?
The text was updated successfully, but these errors were encountered: