Reputation: 300
My Azure Mobile Service is running on Node JS Version v0.0.28
{"nodeversion":"v0.8.28"}
I have altered the package.json to utilize Version 4.1.0 which is installed on the Azure Server, but even after changing this and rebooting the server I still see v0.8.28.
I even modified the enviroment variables on the server, but after a reboot they just revert back anyways.
How can I change the nodejs version on Azure Mobile Services?
Upvotes: 1
Views: 271
Reputation: 16124
The v2 of Azure Mobile Services for node.js (Azure Mobile Apps) is open source and supports any version of node.js. Built on Express and completely customizable. Beta release scheduled for November 2015, but it's available now for pre-release testing and development. Github project available here.
Upvotes: 0
Reputation: 141424
As of July 07, 2015, you cannot upgrade NodeJS on Azure Mobile Services. See this thread on the Azure Mobile Service forums.
What you can do is check your node version:
node -v
. Upvotes: 1