gpt4 book ai didi

php - 无法在 laravel 5.8 中安装集合

转载 作者:行者123 更新时间:2023-12-04 16:02:24 25 4
gpt4 key购买 nike

当我使用命令时,我无法在 laravel 5.8 中安装集合:

 composer require "laravelcollective/html":"^5.8.0"

我的终端出现以下错误:

[UnexpectedValueException]
Could not parse version constraint :5.8.0: Invalid version string ":5.8.0"

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-
with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--o
ptimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

最佳答案

尝试使用单引号安装: Composer 需要'laravelcollective/html:^5.8.0'

关于php - 无法在 laravel 5.8 中安装集合,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55922939/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com