Hi I am trying run node on IIS as a subdirectory of an existing website.
https://somewebsite/node like so
And it works but when I go to a specific js file I got this message, not sure what to do.
The iisnode module is unable to start the node.exe process. Make sure the node.exe executable is available at the location specified in the system.webServer/iisnode/@nodeProcessCommandLine element of web.config. By default node.exe is expected in one of the directories listed in the PATH environment variable.
Added the following code in web.config file and it works!
<iisnode nodeProcessCommandLine="C:\Program Files\nodejs\node.exe" />