What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-28 20:55:32
npm node env
$ npm install dotenv //-------------------- on file .env //-------------------- DB_HOST=localhost DB_USER=root DB_PASS=s1mpl3 DB_NAME=banco_de_dados DB_PORT=3306 //-------------------- import the config from .env file //-------------------- require... Add solution -
Shell/Bash 2022-01-22 04:45:27
how to use dotenv in javascript
$ npm install dotenv //-------------------- on file .env //-------------------- DB_HOST=localhost DB_USER=root DB_PASS=s1mpl3 DB_NAME=banco_de_dados DB_PORT=3306 //-------------------- import the config from .env file //-------------------- require... Add solution -
Other 2021-09-09 11:07:02
Error: Cannot find module 'dotenv'
$ npm install dotenv //-------------------- on file .env //-------------------- DB_HOST=localhost DB_USER=root DB_PASS=s1mpl3 DB_NAME=banco_de_dados DB_PORT=3306 //-------------------- import the config from .env file //-------------------- require... Add solution
Best helpers
Blank
+5
Grin
+5
Hwsolutions
+5
Charlemagne
+5
SYJ
+5
A. Pelicker
+5
KMC
+5
Jonjie
+5
37Bons
+5
Highlightman
+5
ElDynamite
+5
Paul Knight
+5
Karl
+5
WYSIWYG
+5
Required
+5
Saylestyler
+5
Deverejones
+5
Zkanoca
+5
Frank Jaeger
+5