Closed chinleung closed 2 years ago
You can solved this by following these steps:
composer update mirrors
(this would update checksum in composer.lock
without changes the versions)composer.lock
composer install
Thanks @crynobone ! đŸ˜„
This fix does not work on version 2.12.0 running composer update mirrors
doesn't change the checksum even after running composer clearcache
Update:
Had to downgrade and upgrade again for the checksum to be recalculated
@crynobone This indeed does not work. I have PHP 8.1 with composer 2.3.2 but composer update mirrors
triggers no update. I'm currently, without any change, not able to deploy using Github actions. Any idea how I can fix this?
Thanks in advance!
composer update mirrors
just update composer.lock
with the correct checksum and not your vendor
dependencies.
So what is the suggested fix for this? Locally this works, only on github actions this fails with the following message:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I did run the composer update mirrors
, composer clearcache
and all the steps but composer returns with:
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
So nothing to commit for me.
I'm running nova4
@jspekken please refer to Nova 4 installation guide, you are experiencing completely different issue vs what's described in this issue.
Description:
I was able to install Nova previously on GitHub runners with a composer auth.json following the instructions from the documentation but it is no longer working.
I have not changed anything on my end and I've started receiving the following error this morning: