Closed dah-HUB closed 2 years ago
The question here is : we have an instance on production, So is there a temporary workaround so that the project works ? Ex : copying the package from another instance ....
Composer is probably trying to install from a cached URL. But that URL has changed. See my solution here - https://github.com/ConsoleTVs/Charts/issues/3 - worked for me.
Hope it helps. Cheers!
Required information
Describe the bug composer install produces a 404 error : Failed to download consoletvs/charts from dist
To Reproduce Steps to reproduce the behavior:
Expected behavior Install consoletvs/charts package.
Screenshots
Code To Reproduce composer.json contains : "consoletvs/charts": "6.*", composer install
Desktop (please complete the following information):
Additional context The complete error log :
Cloning a4a8a71c43 from cache a4a8a71c438a00b95ea74a080ce5bf8916c60918 is gone (history was rewritten?)
[RuntimeException]
Failed to execute git checkout 'a4a8a71c438a00b95ea74a080ce5bf8916c60918' -- && git reset --hard 'a4a8a71c438a00b95ea74a080ce5bf8916c60
918' --
fatal: reference is not a tree: a4a8a71c438a00b95ea74a080ce5bf8916c60918