Monday, 22 May 2017

Azure Bot Service set node.js version not working

Specifying a Node.js version in Azure Bot Service doesn't seem to work.

In Azure portal, navigate to the bot service instance, then in application settings set the environment variable WEBSITE_NODE_DEFAULT_VERSION to 7.7.4, which is the highest version available as of 22/05/2017. However it turns out the node.js runtime is still v6.5.0!

In Kudu -> Environment it shows:

WEBSITE_NODE_DEFAULT_VERSION = 7.7.4

and

Path = D:\home\site\deployments\tools;... D:\Program Files (x86)\nodejs\7.7.4;...

Couldn't find where this v6.5.0 node.js version was set. Maybe in IIS settings? It would be good if azure bot service allows to use customized node.js version rather than the system provided lag version. So is there a fix or work-around? Thanks.



via Marshal

No comments:

Post a Comment