Closed robbykrlos closed 3 years ago
Update:
I've tried composer update
from MINGW64 and got a warning (yellow), instead of red [RuntimeException], with the fallback Unzip with ZipArchive class failed, falling back to unzip command
:
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing laravel-enso/addresses (4.6.17): Extracting archive
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(C:\myproject/vendor/composer/e7344ef3/laravel-enso-addresses-86d7466\database\cities\GBR/CON.json): Failed to open stream: Invalid argument
Unzip with ZipArchive class failed, falling back to unzip command
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
....
Update:
On git add I get this:
error: open("vendor/laravel-enso/addresses/database/cities/GBR/CON.json"): No such file or directory
error: unable to index file 'vendor/laravel-enso/addresses/database/cities/GBR/CON.json'
fatal: adding files failed
Actual Windows issue:
CON is a reserved name in Windows. So are PRN , AUX , NUL , LPT1 and others. To delete the folder, you have to reference it the same way, or else it won't work. My advice though is to just use a different name.
So... @GITmanuela if possible to change this filename to something more "Windows-friendly" will be much appreciated for all our MS users:)
Hello, composer update should fix the issue
This is a bug(windows).
Prerequisites
Description
Has any of you got this error on composer update:
This happens on windows.
I've tried
composer clearcache
. Not working.