Brad
Brad

Reputation: 300

Change Node JS version in Azure Mobile Services

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

Answers (2)

Joel
Joel

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

Shaun Luttin
Shaun Luttin

Reputation: 141424

As of July 07, 2015, you cannot upgrade NodeJS on Azure Mobile Services. See this thread on the Azure Mobile Service forums.

MSDN Answer saying that we cannot upgrade NodeJS on Azure Mobile Services.

What you can do is check your node version:

  1. Go to https://MY_APP.scm.azure-mobile.net/DebugConsole
  2. Run node -v.
  3. You can see exactly what version you're running.

My Azure Mobile Services are running node v0.8.28

Upvotes: 1

Related Questions