Why will node.exe not run sample file where cmd.exe will?
I've downloaded and run the latest nodejs .msi for Windows (7), updated PATH (
;C:\nodejs), installed nssm and created a service - all's well there hopefully.
["a","b"].join() and receive output:
"a,b". My sample file is in the same dir as node.exe - but when I input "node server.js", all I get is "...", I must CTRL+C to exit that state.
When I open a Windows cmd prompt,
cd C:\nodejs\ and input "node server.js", I receive the expected output from server.js and localhost: 8124 displays the sample message. I then also tried to use npm to install express via node.exe prompt, but couldn't
Why won't node.exe terminal start the sample server, where cmd will?
npm is a
.exe just like
node is. So you cannot run