receipt-print-hq / escpos-tools

Utilities to read ESC/POS print data
MIT License
200 stars 73 forks source link

Composer issue : Failed to extract mike42/escpos-php #73

Closed alassaneg closed 3 years ago

alassaneg commented 3 years ago

Hello,

I've installed composer and try to run composer install in escpos-tools directory but i fails everytime. I can't find much information online regarding this issue. Do you have any idea of what the problem is?

Failed to extract mike42/escpos-php: (12) unzip -qq -o '/home/escpos-tools/vendor/composer/tmp-028734732e7c980daaaa65ef1d064172' -d '/home/escpos-tools/vendor/composer/615da83c' `

error: invalid zip file with overlapped components (possible zip bomb)

alassaneg commented 3 years ago

The issue has finally been resolved. To be able to use the "iconv" function in this specific projet, if building a linux image using buildroot, you need, to activate the option "extra encodings" when selecting libiconv.