I just installed the recent installer of node.js v0.6.13 on my windows system. Now that I have done that what else do I need to do in order to make this work.
my nodejs resides in my Program Files(X86) folder and my js file is in c:\inetpub\www\root folder but then when I opened the node.exe and tried to run the js file in the wwwroot dir it did nothing. Then I copied the js file inside the nodejs folder and tried to run the js file in the console and I got the following error:
ReferenceError: helloWorld is not defined
at repl:1:2
at REPLServer.eval (repl.js:80:21)
at Interface.<anonymous> (repl.js:182:12)
at Interface.emit (events.js:67:17)
at Interface._onLine (readline.js:162:10)
at Interface._line (readline.js:426:8)
at Interface._ttyWrite (readline.js:603:14)
at ReadStream.<anonymous> (readline.js:82:12)
at ReadStream.emit (events.js:88:20)
at ReadStream._emitKey (tty.js:327:10)
I am new to this so don't know much about this, can someone revert back with instructions to make this work.
Thank you!
inetpubleads me to believe you also don't understand just what Node.js is, yet. (It handles its own web serving needs with an internal HTTP server object, so IIS wouldn't be used.).jsfiles written for Node.js won't work in the browser (and therefore you wouldn't want them showing up on IIS).