Closed JieAnthony closed 3 years ago
[root@34680e761697 box]# composer require "overtrue/easy-sms"
The "hirak/prestissimo" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Using version ^1.3 for overtrue/easy-sms
./composer.json has been updated
The "hirak/prestissimo" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Running composer update overtrue/easy-sms
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking overtrue/easy-sms (1.3.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading overtrue/easy-sms (1.3.1)
- Installing overtrue/easy-sms (1.3.1): Extracting archive
Failed to extract overtrue/easy-sms: (50) unzip -qq '/www/wwwroot/box/vendor/composer/tmp-94c39ae1c67d96901f15fe8081f1cb7d' -d '/www/wwwroot/box/vendor/composer/2d98a6f3'
error: cannot create /www/wwwroot/box/vendor/composer/2d98a6f3/overtrue-easy-sms-85040b8/src/Gateways/ModuyunGateway.php
File exists
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
Install of overtrue/easy-sms failed
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[RuntimeException]
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(/www/wwwroot/box/vendor/composer/2d98a6f3/overtrue-easy-sms-85040b8/src/Gateways/ModuyunGateway.php): failed to open stre
am: File exists
[ErrorException]
ZipArchive::extractTo(/www/wwwroot/box/vendor/composer/2d98a6f3/overtrue-easy-sms-85040b8/src/Gateways/ModuyunGateway.php): failed to open stream: File exists
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...
已发现1.3.1版本解决该问题,但是安装还是会出错