Skip to content

env file not loaded error when running CLI outside the project directory #1

Description

@hasib-devs

I encountered an message where the CLI application trying to load the .env file when executed from a directory other than the project root. The message displayed is: env file not loaded

Steps to Reproduce:

  1. Navigate to a directory outside the project directory.
  2. Run the CLI command lemmego --version
  3. Observe the error message: env file not loaded.

Environment:

CLI Version: 0.1.8
Operating System: MacOS
NodeJS version: 20.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions