title: Uncaught ReferenceError: module is not defined at index.js:1 error in lodash
body: <p>getting console error
  module.exports = require('./lodash');</p>
  <p>My Package.json file is below</p>
  <p>{</p>
  <pre><code>&quot;scripts&quot;: {
  
  },
  &quot;private&quot;: true,
  &quot;dependencies&quot;: {
    &quot;@angular/animations&quot;: &quot;~8.2.14&quot;,
    &quot;@angular/common&quot;: &quot;~8.2.14&quot;,
    &quot;@angular/compiler&quot;: &quot;~8.2.14&quot;,
    &quot;lodash&quot;: &quot;^4.11.1&quot;
   
    
  },
  &quot;devDependencies&quot;: {
    &quot;@types/lodash&quot;: &quot;^4.11.1&quot;,
    &quot;typescript&quot;: &quot;~3.5.3&quot;
  }
  </code></pre>
  <p>}</p>