我第一次尝试在后台开发一个简单的插件。我以为我安装和配置的一切都是正确的
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所以,存储库存在,我的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或其他任何东西。
我做错了什么?
发布于 2021-06-12 17:39:19
通过运行后端来解决,如下所示:
sudo GITHUB_TOKEN=<token> yarn starthttps://stackoverflow.com/questions/67911797
复制相似问题