Skip to content

Enviroment variables (via .env) are not being loaded  #21

Description

@DonatoM

Currently, we are not loading environment variables, which result in the application crashing when attempting to run it.

Error:
Screen Shot 2019-11-23 at 17 36 58

To fix this error you should load the environment variables prior to using them. Copy + paste the following code in this line.

// load environment variables declared in your .env file
require('dotenv').config()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions