Skip to content

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

@DonatoM

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()

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