title: Uncaught TypeError: Cannot read property 'prototype' of undefined
body: <p>In bundle.js:4982 (which is created using the browserify npm)
  I am getting the following error:</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'prototype' of undefined
  </code></pre>
  
  <p>The error only appears when I include the express framework here:</p>
  
  <pre><code>var shopifyAPI = require('shopify-node-api');
  var express = require('express'); // comment this out and it works...
  
  $( document ).ready(function() {
  
      console.log( "ready!" );
  ...
  </code></pre>
  
  <p>How do I solve this error? </p>
  
  <p>Note: <a href="https://stackoverflow.com/questions/19702782/how-to-fix-uncaught-typeerror-cannot-read-property-prototype-of-undefined">How to fix Uncaught TypeError: Cannot read property &#39;prototype&#39; of undefined?</a>
  This stackoverflow question is very similar except I don't know if I'm using a collection and/or model... or how to fix my problem from their answer...</p>