Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255

This is how I solved this after an upgrade from laravel version 6.x – 7.x: In App\Exceptions\Handler changed //Use Exception; Use Throwable; Then methods to accept instances of Throwable instead of Exceptions as follows: //public function report(Exception$exception); public function report(Throwable $exception); //public function render($request, Exception $exception); public function render($request, Throwable $exception); In config\session.php: //’secure’ => … Read more

How to run “brew” command in windows..?

Edit: Homebrew is also usable on Windows Subsystem for Linux (WSL) since version 2.0.0 (released February 2019), as detailed by @VonC’s answer below. The instructions for installation/use are available at: https://docs.brew.sh/Homebrew-on-Linux Homebrew is MacOS only command line installer application and it doesn’t exist for Windows. The Windows alternatives are: Winget Chocolatey Npackd Scoop OneGet for … Read more

Command to run a .bat file

“F:\- Big Packets -\kitterengine\Common\Template.bat” maybe prefaced with call (see call /?). Or Cd /d “F:\- Big Packets -\kitterengine\Common\” & Template.bat. CMD Cheat Sheet Cmd.exe Getting Help Punctuation Naming Files Starting Programs Keys CMD.exe First thing to remember its a way of operating a computer. It’s the way we did it before WIMP (Windows, Icons, Mouse, … Read more