Skip to content
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

missing dotenv dependency from todo-backend #12

Open
stolenmuppets opened this issue Jun 24, 2024 · 1 comment
Open

missing dotenv dependency from todo-backend #12

stolenmuppets opened this issue Jun 24, 2024 · 1 comment

Comments

@stolenmuppets
Copy link

In todo-app/todo-backend/util/config.js, the first line uses process.env but package dotenv is missing from the file package.json

@stolenmuppets
Copy link
Author

also need to add the line:
require("dotenv").config()
to the beginning of config.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant