Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Error: Unable to Extract Xendit PHP Package #215

Open
YanHairulFirdan opened this issue Oct 25, 2023 · 5 comments
Open

Installation Error: Unable to Extract Xendit PHP Package #215

YanHairulFirdan opened this issue Oct 25, 2023 · 5 comments

Comments

@YanHairulFirdan
Copy link

I encountered an error while trying to install the Xendit PHP package. I ran the following command:
composer require xendit/xendit-php --no-cache

However, I received the following error message:

In ZipDownloader.php line 185:

Failed to extract xendit/xendit-php: (1) "C:\Program Files\Git\usr\bin\unzip.EXE" -qq C:\project-path\vendor\composer\tmp-54522d8730ddd61942e3410fba8c803d.zip -d C:\project-path\vendor\composer\66c26f36

replace C:\project-path\vendor\composer\66c26f36/xendit-xendit-php-de6a316/test/Model/EwalletTest.php? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)

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

It seems there is an issue with the Xendit PHP package extraction process.

I'm using Windows 10, php 8.2.9 and composer 2.6.5

I need assistance in resolving this issue so that I can successfully install the Xendit PHP package. Thank you!

@YanHairulFirdan YanHairulFirdan changed the title Installation Error: Unable to Extract Xendit PHP Package Due to Case Sensitivity Issue Installation Error: Unable to Extract Xendit PHP Package Oct 25, 2023
@andrisyahputra
Copy link

saya juga gagal extraxt dan error seperti sama

@adityarx
Copy link

Thanks for raising this both! We are looking into this 🙏

@YanHairulFirdan
Copy link
Author

The issue is, there are numerous duplicate classes in the test/Models directory.

@sekaranglila
Copy link
Contributor

Hi @YanHairulFirdan @andrisyahputra you should be able to ignore the error message and proceed using the SDK as usual. We are working on a fix to remove the clashing types in our test classes so that the extraction error does not show up. Thank you for pointing this out 🙏

@trunghieu26
Copy link

How to check if an account exists or not when disbursing money in xendit ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants