简体   繁体   English

嗨,我只是运行命令:composer require sentry/sentry-laravel 但是我收到了这个错误

[英]hi i just run the command : composer require sentry/sentry-laravel But i got this error

In ProviderRepository.php line 208:在 ProviderRepository.php 第 208 行:

Class 'Sentry\SentryLaravel\SentryLaravelServiceProvider' not found Class 'Sentry\SentryLaravel\SentryLaravelServiceProvider' 未找到

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1脚本@php artisan package:discover --ansi 处理返回的自动加载转储后事件,错误代码为 1

check version of sentry/sentry-laravel from composer.json.从 composer.json 检查 sentry/sentry-laravel 的版本。 Please notice after version 1.x namespace has been changed to:请注意版本 1.x 命名空间已更改为:

'providers' => array(
    Sentry\Laravel\ServiceProvider::class,
)

'aliases' => array(
    'Sentry' => Sentry\Laravel\Facade::class,
)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Composer 在尝试更新 sentry-laravel package 时没有返回任何更新 - Composer returns nothing to update while trying to update sentry-laravel package 我如何在laravel 5中使用哨兵? - How can I use sentry with laravel 5? 哨兵Laravel错误 - Sentry for Laravel error 我正在尝试在 Laravel 6 中编写 require santigarcor/laratrust ,但出现错误: - I'm trying to composer require santigarcor/laratrust in Laravel 6 but I got an error: Laravel 4和Sentry 2扩展了哨兵课程 - Laravel 4 & Sentry 2 extending the sentry class 我无法在 godady 托管服务器上运行命令“composer require classiebit/addchat-laravel-pro” - I can't run command “composer require classiebit/addchat-laravel-pro” on godady hosting server 嗨,我对 laravel 和 php 有点陌生,我收到了这个错误 [InvalidArgumentException] - hi im a bit new into laravel and php i got this error [InvalidArgumentException] 为什么在Laravel-sentry上出现“缺少public_key配置”错误? - Why do I get “Missing configuration for public_key” error on Laravel-sentry? 我试图运行一个现有的 laravel 项目。 但是在作曲家更新期间,我收到了这个错误: - I have tried to run an existing laravel project. But during composer update I got this error: 当我尝试命令 composer global require "laravel/installer" 时,这个错误在我的终端上意味着什么? - What does this error mean on my Terminal when I try to command composer global require "laravel/installer"?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM