我正在尝试使用composer create-project vendor/name --repository=https://my.self-hosted-gitlab-instance.com/repository.git命令来创建项目。
当我运行命令时,我首先必须输入我的凭据:
Authentication required (my.self-hosted-gitlab-instance.com):
Username: myusername
Password:
Run Code Online (Sandbox Code Playgroud)
我输入了正确的凭据,但我有:
[Composer\Downloader\TransportException]
Invalid credentials for 'https://my.self-hosted-gitlab-instance.com/myrepository.git/packages.json', aborting.
Run Code Online (Sandbox Code Playgroud)