title: require.js uncaught typeerror: cannot read property '__module_path__; of undefined
body: <p>So I've just started to try to get to grips with require.js and it doesn't seem to be working.
  When I include it in my html using the tag:</p>
  
  <pre><code>&lt;script data-main="scripts/main" src="bower_components/require/build/require.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I get the following error upon loading the page in chrome</p>
  
  <pre><code>Uncaught TypeError: Cannot read property '__MODULE_PATH__' of undefined  -&gt; require.js:538
  </code></pre>
  
  <p>In firefox I get a slightly different error:</p>
  
  <pre><code>TypeError: parent is undefined -&gt; require.js:538
  </code></pre>
  
  <p>No idea how I could be causing this problem as It's a fresh install of require.js and I have no code in my main.js yet.</p>
  
  <p>Thanks in advance</p>