laravel-console-dusk icon indicating copy to clipboard operation
laravel-console-dusk copied to clipboard

Upgrading to Laravel 11

Open colivinggit opened this issue 10 months ago • 2 comments

Hi.

I get this error when trying to upgrade to Laravel 11. Could you help with this?

Screenshot 2024-04-25 at 12 03 35

colivinggit avatar Apr 25 '24 11:04 colivinggit

Hello,

That's because there's a new configuration option paths->source, just compare your config file with the package's one and update it:

    /*
    |--------------------------------------------------------------------------
    | Laravel Console Dusk Paths
    |--------------------------------------------------------------------------
    |
    | Here you may configure the name of screenshots and logs directory as you wish.
    */
    'paths' => [
        'screenshots' => storage_path('laravel-console-dusk/screenshots'),
        'log'         => storage_path('laravel-console-dusk/log'),
        'source'      => storage_path('laravel-console-dusk/source'),
    ],

underdpt avatar Aug 27 '24 05:08 underdpt

We should probably fall back to a default path in the package to be honest, or just disable this functionality if it's not set. 🤔

owenvoke avatar Aug 27 '24 08:08 owenvoke