Top "Dotenv" questions

This tag is for questions about the Dotenv Node.

Module not found: Error: Can't resolve 'fs' in node_modules\dotenv\lib'

I'm trying to use dotenv with an angle, but when it comes to requiring dotenv require('dotenv').config() or const …

angular dotenv
Is it secure way to store private values in .env file?

I'm trying to build a node.js server with express framework, and I want to store a private key for …

node.js express security dotenv
Why is process.env undefined in module?

I'm beginner with nodejs and I want environment variables shared through modules. I read those variables with dotenv package. But …

javascript node.js dotenv
How to fix "File '.../node_modules/dotenv/types' not found." error coming from jsconfig.json?

VSCode is showing errors for jsconfig.json: "File '.../node_modules/dotenv/types' not found." Appears to be looking for …

visual-studio-code dotenv vscode-jsconfig
dotenv values not loaded in nextjs

I am struggling to load my .env file in my NextJS app. Here is my code: My .env is in …

next.js dotenv