we finally got a remote secured repository installed and I can use composer commands again(!).
First thing I tried to run is composer update, but it fails on the packge "flysystem-local", saying flysystem-local.json file could not be downloaded, 404 Not Found
Is it supposed to have the "-local" part? What can I do to fix it?
Update: the string flysystem-local is not found in the entire project when I search for it (Not on any composer file as well)
The "flysystem-local" package may have been removed from the repository or renamed. You can try removing the package from your composer.json file and running "composer update" again to see if that resolves the issue. If that doesn't work, you can try specifying a different version of the package or using a different package that provides similar functionality.
Here's an example of how to remove the package from your composer.json file:
flysystem-local is a sub-split of the local-drive adapter in The PHP League’s Flysystem package, which is used by Laravel. If you look at the Flysystem package’s Composer file, you’ll see that it has flysystem-local as a repository at the bottom.
When you searched the entire project, did you exclude the vendor folder? Because that’s where it’ll be referenced.
@kokoshneta thank you, yes I searched the entire and even opened the composer.json file of the installed /league/filesystem in /vendor, for me the list does not have flysystem-local. I have an old version, 1.1.4 so it might matter.
But still, why does it try to install the flysystem-local if it did not exist in my version? (Or it did and something is messed up? But anyway, it doesn't find flysystem-local.json from some reason on the remote repository, which installs via Packagist.org)
@Ligonsker It probably has something to do with your old version of Flysystem. The sub-split is fairly recent and didn’t exist in the version you have installed (I don’t have it either in my Laravel 9 project).
To be honest, Composer issues are some of the worst and most incomprehensible headaches to me, so I’m probably not the best person to help. I’ve never come across an issue like this before, but hopefully someone else has.