Skip to content

Fix: Cannot destructure property 'author' of 'undefined'#1739

Closed
austenstone wants to merge 1 commit intolowlighter:masterfrom
austenstone:patch-1
Closed

Fix: Cannot destructure property 'author' of 'undefined'#1739
austenstone wants to merge 1 commit intolowlighter:masterfrom
austenstone:patch-1

Conversation

@austenstone
Copy link
Copy Markdown

Fixing error

1 error(s) occurred
  [
    {
      name: 'habits',
      result: {
        error: {
          message: 'Unexpected error',
          instance: TypeError: Cannot destructure property 'author' of 'undefined' as it is undefined.
              at file:///metrics/source/plugins/habits/index.mjs:51:21
        }
      }
    }
  ]

Fixing error
```
1 error(s) occurred
  [
    {
      name: 'habits',
      result: {
        error: {
          message: 'Unexpected error',
          instance: TypeError: Cannot destructure property 'author' of 'undefined' as it is undefined.
              at file:///metrics/source/plugins/habits/index.mjs:51:21
        }
      }
    }
  ]
```
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 8, 2025

This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity.

@JustJoostNL
Copy link
Copy Markdown

This error just occurred for me as well. Any news on merging this?

@StrikerRUS
Copy link
Copy Markdown

Got this error today for the first time.

@dkhokhlov
Copy link
Copy Markdown

fixed in PR 1769 waiting for approval

meanwhile you can use my fork:

uses: dkhokhlov/metrics@master

@github-actions
Copy link
Copy Markdown
Contributor

This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity.

@lishaduck
Copy link
Copy Markdown

lishaduck commented Feb 27, 2026

I still have not had a chance to cp this into @gh-metrics, but I do still plan on it. Not stale.

@austenstone
Copy link
Copy Markdown
Author

Closing in favor of #1807 which addresses the same issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants