title: Error code: 800A1391 Source: Microsoft JScript runtime error Running Grunt - Module is undefined
body: <p>New Grunt user here who is using a lot of new tools (npm nodejs) today.</p>
  
  <p>I've got Grunt "installed" and have been able to create a grunt.js file using the init task as described here: <a href="http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/" rel="noreferrer">http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/</a> and here: <a href="https://github.com/cowboy/grunt/blob/master/docs/getting_started.md" rel="noreferrer">https://github.com/cowboy/grunt/blob/master/docs/getting_started.md</a>. But whenever I run the "grunt" command I get an error:</p>
  
  <pre>
  Windows Script Host
  Script: c:\users\[]\Documents\code\grunt\grunt.js
  Line: 2
  Char: 1
  Error: 'module' is undefined
  Code: 800A1391
  Source: Microsoft JScript runtime error
  </pre>