Azure-functions-host: Brand new Azure Function have WEBSITE_NODE_DEFAULT_VERSION set to 4.1.2 (instead of 6.4.0)

Created on 6 Sep 2016  路  2Comments  路  Source: Azure/azure-functions-host

Repro steps

Using Azure Portal

  1. Migrate an existing Azure Function from ~0.4 to ~0.5
  2. Create a brand new Azure Function (~0.5)

Expected behavior

Migrated and brand new Azure Functions should have similar Application Settings

Actual behavior

Migrated and brand new Azure Functions (both on ~0.5runtime) have different Application Settings

Migrated (from ~0.4 to ~0.5) have WEBSITE_NODE_DEFAULT_VERSION set to 6.4.0

AzureWebJobsDashboard => DefaultEndpointsProtocol=https;AccountName=XXX;AccountKey=XXX
AzureWebJobsStorage => DefaultEndpointsProtocol=https;AccountName=XXX;AccountKey=XXX
FUNCTIONS_EXTENSION_VERSION => ~0.5
AZUREJOBS_EXTENSION_VERSION => beta
WEBSITE_CONTENTAZUREFILECONNECTIONSTRING => DefaultEndpointsProtocol=https;AccountName=XXX;AccountKey=XXX
WEBSITE_CONTENTSHARE => XXX
WEBSITE_NODE_DEFAULT_VERSION => 6.4.0

Brand new (~0.5) have WEBSITE_NODE_DEFAULT_VERSION set to 4.1.2

AzureWebJobsDashboard => DefaultEndpointsProtocol=https;AccountName=XXX;AccountKey=XXX
AzureWebJobsStorage => DefaultEndpointsProtocol=https;AccountName=XXX;AccountKey=XXX
FUNCTIONS_EXTENSION_VERSION => ~0.5
AZUREJOBS_EXTENSION_VERSION => beta
WEBSITE_NODE_DEFAULT_VERSION => 4.1.2

Known workarounds

The application is still working with WEBSITE_NODE_DEFAULT_VERSION set to 4.1.2 but I'm a bit confused.. what is this setting? Why is it set to 4.1.2? Should I change it?

Related information

Provide any related information

bug must-have

All 2 comments

This is likely a bug in our portal. We'll update this when we have the right Node.js version on the box.

Confirmed fixed in prod.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krillehbg picture krillehbg  路  3Comments

helgemahrt picture helgemahrt  路  4Comments

ladeak picture ladeak  路  3Comments

ahmelsayed picture ahmelsayed  路  4Comments

ElvenSpellmaker picture ElvenSpellmaker  路  3Comments