title: mean.io - Error: 'Request entity too large'. How to increase bodyParser limit outside meanio module?
body: <p>I am receiving following error with mean.io application.</p>
  
  <pre><code>Error: request entity too large
  </code></pre>
  
  <p>To overcome this issue, I have increased the bodyParser limit with in meanio  module at following location.</p>
  
  <pre><code>node_modules/meanio/lib/core_modules/server/ExpressEngine.js
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>// Request body parsing middleware should be above methodOverride
    this.app.use(expressValidator());
    this.app.use(bodyParser.json({limit: '50mb'}));
    
    this.app.use(bodyParser.urlencoded({
      limit: '50mb',
      extended: true
    }));
    this.app.use(methodOverride());</code></pre>
  </div>
  </div>
  </p>
  
  <p>However this is a bad practice and the changes will be lost if we upgrade the module. Can anyone suggest any alternative way to increase request limit at meanio app?</p>