I am trying to get a node app running on Azure with version 0.11.x of node, so I can take advantage of some new features (e.g. generators & Koa).
I have read this question and tried to follow the steps, with no success so far:
Error setting up node v0.11.x on Azure WebSite
Here are the steps I did:
In VS2013 (update3), File => New Project Choose "Blank Microsoft Azure Node.js Web Application" (under Templates/Javascript/node.js), click OK
In server.js, change the last "hello world" line to show the node version:
res.end('App running in node version ' + process.version + '\n');
Add a new file "iisnode.yml" in same folder as server.js, with the contents:
nodeProcessCommandLine: D:\home\site\wwwroot\bin\node.exe
Copy node.exe (version 0.11.13) into the "bin" folder (under the folder where server.js is)
Right-click the project in VS, select Publish, create new Website with all the default credentials/etc... then click Publish
At this point, the "myproj.azurewebsites.net" page comes up with the response:
App running in node version v0.10.29
But I was hoping for node version 0.11.13. If I go to my \bin folder and run node.exe --version
it spits out:
v0.11.13
Running locally (F5) seems to do the right thing: App running in node version v0.11.13
I'm fairly stumped how to get node 0.11 running on an Azure web site, any suggestions?