title: Node.js Alert Causes Crash
body: <p>I'm trying to create a node.js app and</p>
  
  <pre><code>alert('Sample Alert');
  </code></pre>
  
  <p>is causing my program to crash. Node says</p>
  
  <blockquote>
    <p>ReferenceError: alert is not defined</p>
  </blockquote>
  
  <p>and then quits. I can use the <code>alert</code> function when running javascript on a regular html page, so I'm at a loss to understand why this is... Is this a separate module that I have to use with node.js?</p>