欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

composer install错误怎么办

程序员文章站 2022-06-08 16:24:46
...

composer install错误的解决办法:首先打开终端命令窗口;然后通过“rm -f composer.lock”命令删除“composer.lock”;最后执行“composer install”命令即可。

composer install错误怎么办

composer install错误怎么办?

执行composer install 报错的解决办法

执行composer install后报以下错误:

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/horizon v1.4.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.4.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- Installation request for laravel/horizon v1.4.3 -> satisfiable by laravel/horizon[v1.4.3].

解决办法:

rm -f composer.lock

再次执行composer install

相关标签: php composer