Why are you using a private version of psr/simple-cache in the first place?
Installing composer
Hello,
I am getting this error message when trying to install composer in the server:
[advancew@sjc02 public_html]$ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 113 installs, 0 updates, 0 removals Failed to download psr/simple-cache from dist: /home/advancew/public_html/vendor/psr/simple-cache does not exist and could not be created. Now trying to download from source
- Syncing psr/simple-cache (1.0.1) into cache Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos When working with public GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+sjc02.dewaweb.com+2022-09-30+0825 to retrieve a token. This token will have read-only permission for public information only. When you need to access private GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+sjc02.dewaweb.com+2022-09-30+0825 Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer. Tokens will be stored in plain text in "/home/advancew/.composer/auth.json" for future use by Composer. For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth Token (hidden):
Any idea where I can get the token? I am using gitlab.
Which token do I need to use?
ref: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
I only have this notes in my documentation - git remote add origin https://davy_yg:******@gitlab.com/davy_yg/xyz.git
Is the one that I sensored mightbe the personal access token that I could enter in the token (hidden) ? Since I tried but I failed.
Please or to participate in this conversation.