Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One of de dependencies were deleted and Corcel can't be required #594

Open
gcjbr opened this issue Dec 16, 2021 · 0 comments
Open

One of de dependencies were deleted and Corcel can't be required #594

gcjbr opened this issue Dec 16, 2021 · 0 comments

Comments

@gcjbr
Copy link

gcjbr commented Dec 16, 2021

  • Corcel Version: ~2.7.0
  • Framework Name & Version: Laravel 5.7
  • PHP Version: 7.4.20
  • Database Driver & Version:

Description:

It seems like https://api.github.com/repos/hautelook/phpass/ was deleted and thus corcel can't be installed

Steps To Reproduce:

composer require jgrossi/corcel:~2.7.0

Output


./composer.json has been updated
Running composer update jgrossi/corcel
Loading composer repositories with package information
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals
  - Locking hautelook/phpass (0.3.5)
  - Locking jgrossi/corcel (v2.7.4)
  - Locking thunderer/shortcode (v0.6.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
  - Downloading thunderer/shortcode (v0.6.5)
  - Downloading hautelook/phpass (0.3.5)
  - Downloading jgrossi/corcel (v2.7.4)
 0/3 [>---------------------------]   0%    Failed to download hautelook/phpass from dist: The "https://api.github.com/repos/hautelook/phpass/zipball/b4cbd9b67ed3ef5672ec79d8e0c46d24bd844abd" file could not be downloaded (HTTP/2 404 ):
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#download-a-repository-archive"}
    Now trying to download from source
  - Syncing hautelook/phpass (0.3.5) 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+c18edc92ad72+2021-12-16+1618 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+c18edc92ad72+2021-12-16+1618
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 "/root/.config/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):
No token given, aborting.
You can also add it manually later by using "composer config --global --auth github-oauth.github.com <token>"
 3/3 [============================] 100%

  [RuntimeException]
  Failed to execute git clone --mirror -- 'https://github.com/hautelook/phpass.git' '/root/.cache/composer/vcs/https---git
  hub.com-hautelook-phpass.git/'

  Cloning into bare repository '/root/.cache/composer/vcs/https---github.com-hautelook-phpass.git'...
  remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
  remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more informa
  tion.
  fatal: Authentication failed for 'https://github.com/hautelook/phpass.git/'


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant