---
title: "Discussion on \"Config.get() Not Getting Configuration From File: \"custom-environment-variables.json\" Nodejs, JavaScript\" | Hashnode"
description: "Discussion on \"Config.get() Not Getting Configuration From File: \"custom-environment-variables.json\" Nodejs, JavaScript\". Firstly you have a lot of syntactical errors for example in custom-environment-variables.json\n{\n    \"mail\":{\n        \"password\":\"app_password\"\n    }\n}\n\nNow if u need to store the password of your mail server in the environment variables\nOn windows\n$e..."
url: "https://hashnode.com/posts/configget-not-getting-configuration-from-file-custom-environment-variablesjson-nodejs-javascript/638a12b39f61b0f33f6a790f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Config.get() Not Getting Configuration From File: "custom-environment-variables.json" Nodejs, JavaScript](https://omarsaade.hashnode.dev/configget-not-getting-configuration-from-file-custom-environment-variablesjson-nodejs-javascript?utm_source=hashnode&utm_medium=feed)

Firstly you have a lot of syntactical errors for example in custom-environment-variables.json { "mail":{ "password":"app\_password" } } Now if u need to store the password of your mail server in the environment variables On windows $e...

Dec 2, 2022 · 1 min read · omarsaade.hashnode.dev  
Updated Dec 26, 2022  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-native](https://hashnode.com/tag/react-native)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Omar Saade](https://hashnode.com/@os921)

@os921

  
[View profile](https://hashnode.com/@os921)

## Responses 1

Markdown supported · ⌘↵ to post

[Omar Saade](https://hashnode.com/@os921)

[Dec 14, 2022](https://hashnode.com/posts/configget-not-getting-configuration-from-file-custom-environment-variablesjson-nodejs-javascript/638a12b39f61b0f33f6a790f/comment/6399cb8e2f612d4e4a766b2d)

1
