在腻子命令行中无法运行Composer更新

问题描述 投票:0回答:2

在我的本地目录中,我刚刚安装了beautymail用于发送laravel电子邮件,但是当我进入油灰应用程序并键入composer require snowfire/beautymail dev-master时,出现错误[]]

ubuntu@ip-172-31-16-16:/var/www/html/domain-payment$ composer require snowfire/beautymail dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In ProviderRepository.php line 208:

  Class 'Snowfire\Beautymail\BeautymailServiceProvider' not found


Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json to its original content.

我该如何解决?我已经将代码推送到仓库中,之后我想安装beautymail软件包,因为在我的本地目录中,我已经发布了beautymail的资产。有人可以告诉我该怎么办?谢谢。

在我的本地目录中,我刚刚安装了beautymail用于发送laravel电子邮件,但是当我进入油灰应用程序并键入composer时,需要snowfire / beautymail dev-master,它给我一个ubuntu @ ip -...的错误>] >

删除您的供应商文件夹,然后安装作曲家

composer install

添加此文件

composer.json

"require": {
   "snowfire/beautymail": "dev-master"
}

然后运行此命令

composer install
php laravel composer-php
2个回答
0
投票

删除您的供应商文件夹,然后安装作曲家


0
投票

添加此文件

composer.json

© www.soinside.com 2019 - 2024. All rights reserved.