title: terminal: % node example.js -bash: fg: no such job
body: <p>In Terminal, when I try to run <code>% node example.js</code> why do I get <code>-bash: fg: %: no such job</code>?</p>
  
  <p>I've installed Node.js. I've saved example.js with the example code:</p>
  
  <pre><code>var http = require('http');
  http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Hello World\n');
  }).listen(1337, '127.0.0.1');
  console.log('Server running at http://127.0.0.1:1337/');
  </code></pre>
  
  <p>This is following the webserver example on the landing page of <a href="http://nodejs.org/" rel="nofollow">http://nodejs.org/</a>.</p>