ConsoleTVs / Charts

[Deprecated] Charts for Laravel
MIT License
72 stars 33 forks source link

[BUG] Help, can't install consoletvs/charts (6.5.3) -> 404 Error #4

Closed dah-HUB closed 1 year ago

dah-HUB commented 1 year ago

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:

  1. rm -rf vendor/
  2. composer install

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


dah-HUB commented 1 year 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 ....

tabacitu commented 1 year ago

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!