Skip to content

Couldn't set Node variables in Windows terminal [learn/database] #974

@halimahexe

Description

@halimahexe

For some reason, despite looking up the correct way to set Node variables in a Windows terminal, I wasn't able to do so in the terminal. Instead I had to install dotenv, create a .env file and put require('dotenv').config() in my code. It might be worth highlighting this to other Windows users.

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