I have a node.js web-role project targeted for Azure Cloud Services. Running the node.js project in plain node.exe works fine. Trying to run it on the emulator however does not work.
The Azure Cloud Service project referencing the node.js project builds and packages just fine, but the VM (and the azure compute emulator) shutdown almost immidiatly after launching. I can't even manage to open the azure emulator UI to see what's going on due to this.
I am working with full IIS 7.5 and have installed iisnode 0.2.18 from GitHub. Using VS 2013 Ultimate and Azure SDK 2.6 all under Win7 x64.
The project is configured to use full IIS of course. I should mention that it seems to me the setup_web.cmd
batch file under the project's bin directory is quite irrelevant. Checking its output log reveals that it is looking for non-existent things such as the config file from the APPCMD
macro, and a folder name iisnode-dev
(iisnode installed itself in C:\Program Files\iisnode
). However, tweaking with the setup_web.cmd
and ChangeConfig.ps1
did not help (at least not my tweaks..)
There are no errors on the Windows Azure event log on my machine. Only Information messages about the roles being initialized and the scripts being run so no help there.
I know that iisnode is installed correctly since I setup the bundled samples and they all work right off localhost
.
Any help is appreciated.