Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8.9.7 - Cannot read properties of undefined #451

Open
MstrDC opened this issue Nov 24, 2022 · 1 comment
Open

v8.9.7 - Cannot read properties of undefined #451

MstrDC opened this issue Nov 24, 2022 · 1 comment

Comments

@MstrDC
Copy link
Contributor

MstrDC commented Nov 24, 2022

When running version 8.9.7, I get the error below when running "npx backport" on my repo
Downgrading to version 8.9.4 fixes the issue.

{
"level": "error",
"message": "Unhandled exception: Cannot read properties of undefined (reading 'repository')",
"metadata": {
"stack": "TypeError: Cannot read properties of undefined (reading 'repository')\n at getOptionsFromGithub (X:\repo-name\node_modules\backport\dist\lib\github\v4\getOptionsFromGithub\getOptionsFromGithub.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getOptions (X:\repo-name\node_modules\backport\dist\options\options.js:57:31)\n at async backportRun (X:\repo-name\node_modules\backport\dist\backportRun.js:49:19)"
},
"timestamp": "2022-11-24 11:34:01"

@sorenlouv
Copy link
Owner

Thanks for letting me know. I'll take a look over the weekend.

mergify bot pushed a commit to cdk8s-team/cdk8s-projen-common that referenced this issue Jun 6, 2024
We were pinning because of [this issue](sorenlouv/backport#451), but it is now very old and a new major version has been released so its probably resolved. 

I also tested locally that it works fine with the new major version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants