NODE_CONFIG_DIR is not updating when using import #750
Unanswered
vinayverismart
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to update NODE_CONFIG_DIR
But when I am using
require
Output is
../test/config
(which is correct)But when I am using
import
Output is
../config
(It should be../test/config
)And if I am trying to use
config.get()
, it is returning the value from config which is located in../config
When I am printing
process.env["NODE_CONFIG_DIR"]
, path is../test/config
in both casesBeta Was this translation helpful? Give feedback.
All reactions