宝塔用户_qepjdy 发表于 2022-5-20 23:35:59

【待反馈】安装 Composer 错误

PHP版本: 7.2

当我尝试跑Composer install出现错误



大炮运维V587 发表于 2022-5-22 11:51:22

您好,您使用composer安装的是什么程序?发我来试试

Joker 发表于 2022-8-29 01:23:14

大炮运维V587 发表于 2022-5-22 11:51
您好,您使用composer安装的是什么程序?发我来试试

我好像也是这样,能帮我看看吗

Joker 发表于 2022-8-29 01:50:29

大炮运维V587 发表于 2022-5-22 11:51
您好,您使用composer安装的是什么程序?发我来试试

Exception trace:
at phar:///usr/bin/composer/src/Composer/Factory.php:321
Composer\Factory->createComposer() at phar:///usr/bin/composer/src/Composer/Factory.php:625
Composer\Factory::create() at phar:///usr/bin/composer/src/Composer/Console/Application.php:471
Composer\Console\Application->getComposer() at phar:///usr/bin/composer/src/Composer/Command/BaseCommand.php:101
Composer\Command\BaseCommand->requireComposer() at phar:///usr/bin/composer/src/Composer/Command/InstallCommand.php:104
Composer\Command\InstallCommand->execute() at phar:///usr/bin/composer/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:1024
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:299
Symfony\Component\Console\Application->doRun() at phar:///usr/bin/composer/src/Composer/Console/Application.php:343
Composer\Console\Application->doRun() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///usr/bin/composer/src/Composer/Console/Application.php:138
Composer\Console\Application->run() at phar:///usr/bin/composer/bin/composer:88
require() at /usr/bin/composer:29

install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...]

河妖 发表于 2022-10-10 17:38:28

你好 看提示是无法链接阿里云的镜像节点 提示无法解析 清检查服务器的DNS是否正常
页: [1]
查看完整版本: 【待反馈】安装 Composer 错误