Closed zaoy closed 4 years ago
Laravel 6
relies onignition
, currently there will be compatibility issues Action Facade\Ignition\Http\Controllers\ShareReportController not defined., fundamentally, the reason is that Swoole
runs incli
mode, and ignition
does [special processing](https://github.com/facade/ignition/blob/1.13.0/src/IgnitionServiceProvider.php # L135)) according to the running mode.
Configurable environment variable APP_RUNNING_IN_CONSOLE
to solve temporarily.
APP_RUNNING_IN_CONSOLE = false
Fixed Application: isRunningInConsole being cached
Laravel 6
依赖了ignition
,目前会出现兼容性问题Action Facade\Ignition\Http\Controllers\ShareReportController not defined.,根本原因是Swoole
运行在cli
模式下,而ignition
根据运行模式做了特殊处理。
可配置环境变量APP_RUNNING_IN_CONSOLE
来临时解决。
APP_RUNNING_IN_CONSOLE=false
Do not use APP_RUNNING_IN_CONSOLE=false
if you use Horizon for job management and monitoring. It will break it and it will not be able to spawn the supervisor process.
Tell us your software version How to know it?
TODO
TODO
6.x
Detail description about this issue(error/log)
TODO
Give us a
reproducible
code block andsteps