**composer require(install.update) 项目出现下面问题**
[RuntimeException]
Failed to execute git clone --mirror ‘https://xxx:***@xxx/xapp/backend/xinxin-vendor/community.git’ ‘/Users/xxx/.composer/cache/vcs/https
—code.xx.cn-xx-app-backend-xx-vendor-xx.git/’
Cloning into bare repository ‘/Users/xx/.composer/cache/vcs/https—code.xx.cn-xinxin-app-backend-xx-vendor-xx.git’…
remote: HTTP Basic: Access denied
fatal: Authentication failed for ‘https://code.xx.cn/xinxin_app/backend/xx-vendor/xx.git/’
我的解决发放
1,查看自己的gitlab账号密码
2,查看自己的composer 认证密码 cat ~/.composer/auth.json
3, 把密码改为一样
博客记录了Git克隆仓库时出现认证失败的问题,报错显示远程HTTP Basic访问被拒、认证失败。给出的解决办法是查看自己的gitlab账号密码,查看composer认证密码,然后将两者密码改为一致。

4444

被折叠的 条评论
为什么被折叠?



