I'm trying to use dotenv with an angle, but when it comes to requiring dotenv
require('dotenv').config()
or
const Dotenv = require('dotenv-webpack');
I get the following error:
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'
package.json
"dotenv": "^8.2.0",
"dotenv-webpack": "^1.7.0",