Skip to content

dotenv is not installed #238

Closed
Closed

Description

@5archoufa

The project uses a .env file to read the GITHUB_TOKEN. But it doesn't have the package dotenv in package.json, and its missing this line in gatsby-config.js: require('dotenv').config();

Activity

  1. 5archoufa commented on Apr 23, 2024

    @5archoufa
    Author

    I've made a pull request here: #239

  2. soloturn commented on Nov 11, 2026

    @soloturn
    Contributor

    Addressed by #266: GITHUB_TOKEN can now come from a git-ignored .env file, read with Node's built-in loader (no dotenv dependency), and the README documents it. Closing now, with #266 pending merge.

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