1

Working on laravel project.

When I tried to run php artisan serve the command was just ignored, So i updated the composer.json file with composer update command.

then i got, @php artisan package:discover --ansi error

at last it end up with, @php artisan package:discover handling the post-autoload-dump event returned with error code 255

Sorry for not being able to post images directly.

Basanta Taj
  • 81
  • 1
  • 8
  • Copy paste your console logs – Paras Oct 11 '18 at 16:18
  • links are referenced to the image files... please check that once – Basanta Taj Oct 11 '18 at 16:24
  • Hi, welcome to stack overflow. Please refer the [ask] link for more details on how to ask a question and update your question accordingly. – Jeroen Heier Oct 11 '18 at 16:42
  • artisan serve didn't work for me either when I was using Laravel 5.5.*. So, do a `cd public` on your command line inside your Laravel project folder and run this- `php -S localhost:8000`. Your local development server will get started on port 8000. `php artisan serve` would have done the same. – nice_dev Oct 11 '18 at 17:06
  • Try do this: https://stackoverflow.com/questions/50840960/script-php-artisan-packagediscover-handling-the-post-autoload-dump-event-retur/53673749#53673749 – Samuel Terra Dec 11 '18 at 01:03
  • Here is the answer. https://stackoverflow.com/questions/50840960/script-php-artisan-packagediscover-handling-the-post-autoload-dump-event-retur/53673749#53673749 – Mohsin Ali May 17 '20 at 22:25

0 Answers0