Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro255

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro_第1张图片

本人解决方案

composer clear

composer update --ignore-platform-req=ext-sockets

本次报错经过翻译得到大概意思就是:一些扩展被锁定到指定的版本

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro_第2张图片

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro_第3张图片

那么我们根据提示composer update 加上 --ignore-platform-req=ext-sockets

composer update --ignore-platform-req=ext-sockets

 可以看到问题已经解决leScript @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro_第4张图片

 访问成功

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with erro_第5张图片

 

你可能感兴趣的:(laravel,php,开发语言)