Development Laravel Linux PHP

Failed to execute unzip -qq facade/flare-client-php creating new Laravel app

I just tried to create a new laravel application using the official installer

$ laravel new laravel

But it keeps throwing an error on the

@php artisan key:generate --ansi


> @php artisan key:generate --ansi

PHP Warning: require(/home/user/Sites/laravel/vendor/composer/../facade/flare-client-php/src/helpers.php): failed to open stream: No such file or directory in /home/user/Sites/laravel/vendor/composer/autoload_real.php on line 66
PHP Fatal error: require(): Failed opening required ‘/home/user/Sites/laravel/vendor/composer/../facade/flare-client-php/src/helpers.php’ (include_path=’.:/usr/share/php’) in /home/user/Sites/laravel/vendor/composer/autoload_real.php on line 66
Script @php artisan key:generate –ansi handling the post-create-project-cmd event returned with error code 255

I investigated what’s happening by scrolling up and it seems that it’s enabled to unzip an archive for facade/flare-client-php package

- Installing facade/flare-client-php (1.1.2): Loading from cache

Failed to execute unzip -qq ‘/home/user/Sites/laravel/vendor/facade/flare-client-php/1f6566b4c5c37fea29ed1d5afc61af4a’ -d ‘/home/user/Sites/laravel/vendor/composer/57504019’

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/user/Sites/laravel/vendor/facade/flare-client-php/1f6566b4c5c37fea29ed1d5afc61af4a or
/home/user/Sites/laravel/vendor/facade/flare-client-php/, and cannot find /home/user/Sites/laravel/vendor/facade/flare-client-php/1f6566b4c5c37fea29ed1d5afc61af4a.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

Am running on a Linux system with the default ext4 filesystem which as far as I know is not case insensitive

Any idea how to solve this problem?

Leave a Reply

Your email address will not be published. Required fields are marked *