Skip to content

Error when running lepper describe with lepper installed globally. #17

@regisrex

Description

@regisrex

Not sure but based on the documentation provided in readme, lepper is designed to be installed in every project, using npm install lepper which means that the project must be nodejs based. I tried using it in my rust project and tried installing it globally, and it gave me the error above on lepper describe, my guess is that it had issues when resolving directories of my project.

Node.js v20.12.2

$ lepper describe
/usr/local/lib/node_modules/lepper/compiled/commands/describe.js:26
  const tableData = Object.entries(lepperData.directories).map(([directory, description]) => ({
                           ^

TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions