首页 > 后端开发 > php教程 > composer install错误怎么办

composer install错误怎么办

PHPz
发布: 2020-09-04 15:04:24
原创
4887 人浏览过

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.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板