antonioribeiro / health

Laravel Health Panel
BSD 3-Clause "New" or "Revised" License
1.95k stars 196 forks source link

Installation failed on Laravel 5.6 #81

Closed pavinthan closed 6 years ago

pavinthan commented 6 years ago

Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

In Parser.php line 343:

  Duplicate key "name" detected at line 3 (near "name: health-queue").  

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1```
skydiver commented 6 years ago

You need to remove name: health-queue (third line) in vendor/pragmarx/health/src/config/resources/Queue.yml

+info https://github.com/antonioribeiro/health/pull/75

bingalls commented 6 years ago

According to their composer.json specs, newer versions of Health only work on Laravel v5.5 (dev-master, v4.0.0). However, the older v3.3 allows Laravel 5.6 (!)

MNV commented 6 years ago

The newest version of extension is v0.4.0 and it doesn't support Laravel 5.6. Have you planned to add Laravel 5.6 version in future releases?

poor-bob commented 6 years ago

I use this library in a Docker image so I have to fix the package every time I re build. Here's the command I use in my Dockerfile RUN sed -i '3d' /var/www/vendor/pragmarx/health/src/config/resources/Queue.yml

antonioribeiro commented 6 years ago

Should work in 5.6 and 5.7 as soon as I tag a new version.

pavinthan commented 6 years ago

Thanks Guys.