dwyl / dwyl/env2

Document what is meant by `'./path-to-your/.env'`

Open
#55 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
102
Forks
8
PR merge metrics
No merged PRs in 30d

Description

(ie path begins with `./` or `../` and is relative to the package.json or run directory)

It is non-intuitive within a complex file structure whether env vars are failing to load due to the wrong path being included or due to:
```
�[1m�[43m�[30m WARNING: �[22m�[42m�[30m env2 was required to load an .env file: �[46m�[30m ./.env �[1m�[43m�[30m INVALID JSON! �[22m�[42m�[30m Please see: http://git.io/vG3UZ�[49m�[39m�[22m
```
Documenting the above would help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.