我第一次尝试在 Backstage 上开发一个简单的插件。我以为我正确安装和配置了一切
Unable to find a publisher for URL: https://github.com/my_name/my_repo. Please make sure to register this host under an integration in app-config
所以,repo 存在,我的 github 令牌在.env
文件中,the app-config.yaml
是默认的,其中 github、gitlab、bitbucket 和 azure 已经存在并在该integrations
部分中配置。
奇怪的是错误发生在 中plugins/scaffolder-backend/src/scaffolder/stages/publish/publishers.ts
,如果我尝试打印this.publisherMap
,地图中只存在 bitbucket.org。不知何故,它不加载 gitlab、github 或其他任何东西。
我究竟做错了什么?