Which version of node.js is actually running on Windows Azure Web Sites?
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- google-drive can't get push notifications
- Register MicroServices in Azure Active Directory (
相关文章
- node连接远程oracle报错
- How can make folder with Firebase Cloud Functions
- @angular-cli install fails with deprecated request
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
- SQL Azure Reset autoincrement
- Transactionally writing files in Node.js
- Log to node console or debug during webpack build
There are many versions of node preinstalled on the Windows Azure Web Sites servers and you can choose which one gets used by specifying your minimum required version in your package.json file. Instructions here.
The versions available change on a regular basis, but to give you a sense, the currently available versions (as of November 1, 2013) is: 0.6.17, 0.6.20, 0.8.2, 0.8.19, 0.8.26, 0.10.5, 0.10.18, 0.10.21.
By default 0.6.20
BUT you can set your own version:
Add
to iisnode.yml (must be located where your server.js is)
[source: http://www.windowsazure.com/en-us/develop/nodejs/common-tasks/specifying-a-node-version/ ]
It turns out to be, at the moment of writing: v0.6.20.
Quickly found out via the following script:
To follow and try it yourself follow these steps.
I found this: http://hardcoded.se/2015/01/07/node-js-version-on-azure-websites/
In the KUDU environment of your app (accessible through the url deletemesoon.scm.azurewebsites.net if your website has the url deletemesoon.azurewebsites.net) hit runtime versions and you will receive a JSON representation of available versions.
Hope this answers your question.