Commit d1638bfa authored by baotang2118's avatar baotang2118 Committed by Suzanne Selhorn

Fix error Could not find a matching version of package

Expectation: after created a project under a user and invited groups, we can install composer package with with group ID.
Bug: we are not able to install composer package with with group ID.
Resolution: created a project under groups.
parent c1fb673a
...@@ -21,6 +21,11 @@ If you do not have a Composer package, create one and check it in to ...@@ -21,6 +21,11 @@ If you do not have a Composer package, create one and check it in to
a repository. This example shows a GitLab repository, but the repository a repository. This example shows a GitLab repository, but the repository
can be any public or private repository. can be any public or private repository.
WARNING:
If you are using a GitLab repository, the project must have been created from
a group's namespace, rather than a user's namespace. Composer packages
[can't be published to projects created from a user's namespace](https://gitlab.com/gitlab-org/gitlab/-/issues/235467).
1. Create a directory called `my-composer-package` and change to that directory: 1. Create a directory called `my-composer-package` and change to that directory:
```shell ```shell
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment