按照官方指南在Laravel 5.3中错误安装Sentry

时间:2019-02-13 21:23:46

标签: laravel laravel-5 sentry

按照官方指南在laravel 5.3中安装哨兵时出现错误。有人知道为什么会出现此错误。 非常感谢,请原谅我的英语。

$ composer require sentry/sentry-laravel:1.0.0-beta3 \
php-http/curl-client guzzlehttp/psr7

Error   
Problem 1
    - Installation request for sentry/sentry-laravel 1.0.0-beta3 ->
satisfiable by sentry/sentry-laravel[1.0.0-beta3].
    - sentry/sentry-laravel 1.0.0-beta3 requires sentry/sentry 2.0.0-beta1 -> 
satisfiable by sentry/sentry[2.0.0-beta1] but these conflict with your requirements
or minimum-stability.

1 个答案:

答案 0 :(得分:1)

您需要将这两行添加到composer.json文件中:

"minimum-stability": "beta",
"prefer-stable": true

我们很快将删除beta标签,那么这个问题应该消失了。