title: Module not found: Error: Can't resolve 'fs' in node_modules\dotenv\lib'
body: <p>I'm trying to use dotenv with an angle, but when it comes to requiring dotenv </p>
  
  <pre><code> require('dotenv').config()  
   or
   const Dotenv = require('dotenv-webpack');
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>ERROR in ./node_modules/dotenv/lib/main.js
    Module not found: Error: Can't resolve 'fs' in 'C:\Users\57322\Favorites\Proyecto\core4edu\node_modules\dotenv\lib'</p>
  </blockquote>
  
  <p>package.json</p>
  
  <pre><code>"dotenv": "^8.2.0",
  "dotenv-webpack": "^1.7.0",
  </code></pre>