JMK JMK - 1 year ago 112
Node.js Question

Upgrading Node on an Azure website?

I'm trying to run some pre deployment tasks (unit tests etc) with NPM on an Azure website, however the version of node on the VM is v0.10.32, the current version of node is v4.2.4.

I have non administrative access to the command line via the SCM website, no RDP etc.

Is there any way to upgrade?

Answer Source

You can specify the version of node that the app is running on using the package.json file. Add:



"engines":{"node": "0.12.x"}, 

More info:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download