You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 cases
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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