首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装空间媒体时编写器错误

安装空间媒体时编写器错误
EN

Stack Overflow用户
提问于 2022-02-15 09:08:53
回答 1查看 967关注 0票数 0

我想安装spatie媒体库,但是我在安装时遇到了这个错误:

代码语言:javascript
复制
PS C:\xampp\htdocs\myproject> composer require "spatie/laravel-medialibrary:^9.0.0"
./composer.json has been updated
Running composer update spatie/laravel-medialibrary
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires spatie/laravel-medialibrary 9.0.0 -> satisfiable by spatie/laravel-medialibra
ry[9.0.0].
    - spatie/laravel-medialibrary 9.0.0 requires illuminate/bus ^7.0|^8.0 -> found illuminate/bus[v7.0.0, ...,
7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

我在Laravel 8没有这个问题,我该怎么解决呢?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-02-15 09:58:56

试试这个:

代码语言:javascript
复制
"composer require spatie/laravel-medialibrary:*"
票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71123734

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档