title: define is not defined Javascript Node
body: <p>I am trying to run a Javascript file with Node to post blog updates to Tumblr. </p>
  
  <p>So far in my main.js file I have this:</p>
  
  <pre><code>// Tumblr Information
  var tumblr = require('./vendor/tumblr');
  tumblr.request(require('request'));
  var Blog;
  
  var jq = require('./vendor/jquery-1.11.1.min');
  var reqq = require('./vendor/require');
  var inher = require('./vendor/inheritance');
  
  var grammars = require('./tracery/grammar');
  </code></pre>
  
  <p>But then I receive the following error when I run node main.js</p>
  
  <pre><code>ReferenceError: define is not defined
      at Object.&lt;anonymous&gt; (B:\Documents\Google Drive\Programming\CMPM 147 Tracery\Tumblr Tracery\js\
  tracery\grammar.js:6:1)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Module.require (module.js:364:17)
      at require (module.js:380:17)
      at Object.&lt;anonymous&gt; (B:\Documents\Google Drive\Programming\CMPM 147 Tracery\Tumblr Tracery\js\
  main.js:11:16)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
  </code></pre>
  
  <p>And here is where the error is being thrown in the grammar.js file:</p>
  
  <pre><code>define(["./modifiers", "./node"], function(universalModifiers, Node) {'use strict';
  
      // other stuff...
  });
  </code></pre>
  
  <p>I do not think a module is being loaded properly because it is stating the define function isn't defined. I believe this function comes from requireJS but I don't think I am loading it properly. Does anyone have any suggestions on why define might not be defined, or suggestions on how to load the correct module?</p>
  
  <p>Thank you.</p>