问题

IntelliJ IDEA Community Edition 2023.3(社区版)在使用GitLab连接时,使用个人访问令牌出现报错,代码:

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版本时引入的GitLab的插件,在官方中已经说明该插件支持的版本不低于15.10

GitLab | IntelliJ IDEA Documentation

查看了自己使用的GitLab版本仅仅是12.**的

解决问题

 只需要在IDEA的插件中禁用掉GitLab就可以了。Settings -> Plugins -> Installed -> GitLab 取消勾选

 然后就可以输入账号密码使用了!!!

精彩链接

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。