Sunday, January 2, 2022

[FIXED] Laravel 6.2 artisan commands returns blank/empty output

Issue

Well, This is confusing me, because all artisan commands return blank/empty output whenever I run an artisan command like: php artisan serve

I also tried to edit the artisan file in the root folder to echo a string and it works, the terminal gave me an output.

Why do artisan commands return like this empty output?

Thanks in advance!


Solution

This has been caused by app/Providers/AppServiceProvider.php

There was a code to validate the license code inside this service provider. I removed it. Now it's fine.



Answered By - Dasun Tharanga

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.