Re: [nodejs] can't launch .js in node command line

2012-12-12 Thread Isaac Schlueter
Type `node file.js` all in one command at the main prompt. You're typing `node` and then later typing `file.js`. If you don't provide a filename on the command line, then Node will go into the repl (read-eval-print-loop) where you can type JavaScript commands (like your console.log command) and s

[nodejs] can't launch .js in node command line

2012-12-11 Thread Laurent Rouleau
I tried node.js this day. When i wrote "node myFile.js", the answer was "..." (cf screenshot).If someons has explanantion... Thanks -- Job Board: http://jobs.nodejs.org/ Posting guidelines: