Open alphex opened 3 years ago
We're using composer
and this leads to the following error, when calling composer up
:
- Installing markbaker/matrix (2.1.2): Loading from cache
Failed to execute (9) unzip -qq '/home/project/vendor/markbaker/matrix/83437d4a03f96e6515b73c562607b0a7' -d '/home/project/vendor/composer/c121bd63'
[/home/project/vendor/markbaker/matrix/83437d4a03f96e6515b73c562607b0a7]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /home/project/vendor/markbaker/matrix/83437d4a03f96e6515b73c562607b0a7 or
/home/project/vendor/markbaker/matrix/83437d4a03f96e6515b73c562607b0a7.zip, and cannot find /home/project/vendor/markbaker/matrix/83437d4a03f96e6515b73c562607b0a7.ZIP, period.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
For now we had to force our composer.json
to use 2.0.0 which works.
I also had to downgrade to 2.0
Otherwise this error happens:
PHP Fatal error: require(): Failed opening required '/xxxx/vendor/composer/../markbaker/matrix/classes/src/functions/adjoint.php' (include_path='.:/usr/share/php') in /xxxx/vendor/composer/autoload_real.php on line 66
Hi Guys!
Today received this error in my application laravel 7.
Actually it seems there was a rework in the latest version(s) of the structure. The issues is present on case insensitive file systems used for updating dependencies before deploying. Not always the change of functions to Functions is reflected in the folder structure as well. A deletion of the package and a reinstallation with latest version can circumvent the issue.
https://github.com/MarkBaker/PHPMatrix/pull/7/files -- the "functions" directory became "Functions"
Git doesn't recognize the file name change (on OSX at least)
https://stackoverflow.com/a/31393409/1940172
I had to use
git config core.ignorecase false
on my project to pick up the change.This is for people who aren't using build tools on deploy.