New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feathers js - cannot access correct config file #620
Comments
|
So what is the right way to access |
I updated the question and add field |
After I remove |
For more detail about the question, you can reference: |
Closing this issue because there's no recent activity. If the problem still exists, please use our discord server to ask questions: https://discord.com/invite/qa8kez8QBx |
2 files are created in /config.
local.json
dev.json
Whenever the application runs, it should log something like
info: Feathers application started on http://localhost:3030 in Hi I am dev
, which "local" is the env variable inconfig
file.index.js
I tried to set
NODE_ENV=dev
, but every time I run the application bynodemon --legacy-watch ./src
, it shows:but I am expecting
I tried to log
process.env.NODE_ENV
, but it showsdev
correctlyThe text was updated successfully, but these errors were encountered: