stale
stale copied to clipboard
Missing getInstallations method in latest version of octokit
I'm trying to add probot-stale
as a composed app, but it's failng to load because getInstallations
is not a function. It seems it was renamed to listInstallations
according to this PR: https://github.com/angular/github-robot/commit/19f42906cb944f6b71730853e1efd9e77c25457d#diff-dc25f195229dc07dc2800f765f2fb98fL27
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.78. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Here is the exact error on startup:
15:37:31.994Z ERROR probot: github.apps.getInstallations is not a function
TypeError: github.apps.getInstallations is not a function
at eachInstallation (/bot/node_modules/probot-scheduler/index.js:74:29)
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
Is this still relevant?
Yes
If so, what is blocking it?
The Author of you.
Is there anything you can do to help move it forward?
No, the latest version of github needs to be pushed to NPM! It's not a hard fix
@JasonEtco ^
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
yes
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
I am facing the same issue , do you have any update ?
I only have this problem when working with stale
and pr-triage
❯ 06:36:04.951Z ERROR probot: github.apps.getInstallations is not a function ─╯
TypeError: github.apps.getInstallations is not a function
at eachInstallation (/app/node_modules/stale/node_modules/probot-scheduler/index.js:74:29)
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
please fix this
Works when downgrading probot to match: https://github.com/probot/stale/blob/master/package.json#L21
GitHubA GitHub App built with Probot that closes abandoned Issues and Pull Requests after a period of inactivity. - probot/stale
Hi @rkoster, @jakeswenson @jakeswenson, Have you resolved this issue ? Am still seeing this? Could you please share the fix ?