6

在使用 GitHub 的 Probot 应用程序时,我遇到了身份验证问题。当我使用 npm start 运行应用程序时,我会得到

github: Github request: GET /app/installations - 404 Not Found

ERROR probot: {"message":"Integration not found", "documentation_url": "https://developer.github.com/v3"}

后来我发现我遇到这个问题的原因是因为我使用 GitHub Enterprise 帐户工作并且需要在我的 .env 文件中添加一个额外的变量:

GHE_HOST=github.your_company.com

重新启动我的应用程序后,我不再遇到这些问题。

4

0 回答 0