問題
IntelliJ IDEA Community Edition 2023.3(社區(qū)版)在使用GitLab連接時(shí),使用個(gè)人訪問令牌出現(xiàn)報(bào)錯(cuò),代碼:
GraphQL error:[No such type ProjectMember,so it can't be a fraggment condition,Field 'id' doesn't exist on type 'User',Field 'projectMemberships' doesn't exist on type 'User',Fragment pageInfo was defined,but no used,Fragment project was defined,but not used]
?原因分析
?IDEA是在2023.02版本時(shí)引入的GitLab的插件,在官方中已經(jīng)說明該插件支持的版本不低于15.10
GitLab | IntelliJ?IDEA Documentation
查看了自己使用的GitLab版本僅僅是12.**的
解決問題
?只需要在IDEA的插件中禁用掉GitLab就可以了。Settings -> Plugins -> Installed -> GitLab 取消勾選文章來源:http://www.zghlxwxcb.cn/news/detail-766884.html
?然后就可以輸入賬號(hào)密碼使用了?。。?span toymoban-style="hidden">文章來源地址http://www.zghlxwxcb.cn/news/detail-766884.html
到了這里,關(guān)于IDEA 社區(qū)版 add GitLab Account的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!