Comments (4)
Thank you.
I just added php artisan vendor:publish --tag=fly-app
to readme.md
from laravelfly.
I don't think there's a file scil/laravel-fly/src/LaravelFly/Simple/Bootstrap/LoadConfiguration.php
could you try composer update
?
from laravelfly.
I don't know why this issue is closed, no solution is proposed here. I am using 5.6 and can reproduce the above error.
[INFO] conf: /srv/laraveltest/fly.conf.php
[INFO] server dispatcher created
[INFO] event server.config
[INFO] include pre-files
[WARN] kernel: LaravelFly\Kernel
[INFO] event server.created for LaravelFly\Server\HttpServer
[2018-06-04 06:07:20 @105.0] TRACE Create swoole_server host=0.0.0.0, port=8080, mode=3, type=1
[INFO] event worker.starting for 0 (pid 112)
[INFO] event worker.starting for 1 (pid 113)
[INFO] event worker.starting for 2 (pid 114)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 112)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 113)
[INFO] event worker.starting for 4 (pid 116)
[INFO] event worker.starting for 3 (pid 115)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 114)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 116)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 115)
[ERROR] bootstrap: Whoops\Exception\ErrorException: array_diff(): Argument #2 is not an array in /srv/laraveltest/vendor/scil/laravel-fly/src/LaravelFly/Simple/Bootstrap/LoadConfiguration.php:39
Stack trace:
#0 [internal function]: Whoops\Run->handleError(2, 'array_diff(): A...', '/srv/laraveltes...', 39, Array)
#1 /srv/laraveltest/vendor/scil/laravel-fly/src/LaravelFly/Simple/Bootstrap/LoadConfiguration.php(39): array_diff(Array, NULL, NULL)
#2 /srv/laraveltest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(206): LaravelFly\Simple\Bootstrap\LoadConfiguration->bootstrap(Object(LaravelFly\Simple\Application))
#3 /srv/laraveltest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\Foundation\Application->bootstrapWith(Array)
#4 /srv/laraveltest/vendor/scil/laravel-fly/src/LaravelFly/Server/HttpServer.php(59): Illuminate\Foundation\Http\Kernel->bootstrap()
#5 {main}
[INFO] watch /srv/laraveltest/storage/framework/down.
[2018-06-04 06:07:20 #105.5] NOTICE Server is shutdown now.
[INFO] event worker.ready for id 0
[2018-06-04 06:07:20 $106.0] TRACE [Manager]kill worker processor
[2018-06-04 06:07:20 $106.0] TRACE [Manager]kill worker processor
[2018-06-04 06:07:20 $106.0] TRACE [Manager]kill worker processor
[2018-06-04 06:07:20 $106.0] TRACE [Manager]kill worker processor
[2018-06-04 06:07:20 $106.0] TRACE [Manager]kill worker processor
[INFO] event worker.stopped for id 0
from laravelfly.
I am able to fix the problem by copying
vendor/scil/laravel-fly/config/laravelfly-app-config.example.php
to config/laravelfly.php
I think this should be publishable via php artisan publish
command
from laravelfly.
Related Issues (20)
- preload error: the name is already in use HOT 4
- laravel 5.6, [ERROR] bootstrap: Error: 服务器无法启动 HOT 1
- Composer Dependency Error HOT 1
- Can't find fly executable HOT 5
- XDebug HOT 1
- Function name must be a string HOT 8
- LaravelFly containes blocking code? HOT 2
- how to support Octobercms ? HOT 57
- LaravelFly\Kernel path HOT 4
- Database refactor & Postgresql support HOT 5
- support laravel5.6 5.7 HOT 3
- 修改建议 HOT 17
- 启动报错,#21 {main}[FLY ERROR] bootstrap: Class xxxx does not exist HOT 6
- Docker example? HOT 3
- Version compatibility issue with laravel 5.7.27 HOT 5
- class Psy\Input\ShellInput not found HOT 2
- docker fpm fallback 502 bad gateway HOT 1
- Wont Install Laravel v6.6.0 HOT 1
- How do you solve the cached resolved instances for facade, it is supposed to be shared by multiple coroutines. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravelfly.