Closed erth5 closed 2 years ago
Hey! Sorry that you're having issues with this. Where are you calling the validator from? I see that you have the AppServiceProvider@boot
method in your stack trace. Are you calling it from there? 🙂
I'm going to close this issue for the time being so that I can keep on top of my open issues. But, if you're still having this issue, please feel free to reopen the issue. Thanks! 😄
I found the Cause, I used
if (App::environment() === 'local') {
(new ConfigValidator())
->run();
}
to check the config on startup, but Dusk use own environment
Perfect! I'm glad that you managed to get this sorted 😄
I get errors by start run Laravel Dusk in a local environment Is there a possibility to deactivate config validator temporary without remove from composer.json? Or Did I have configure dusk ?
The config is correct but changed while dusk runs
$php artisan dusk Environment modified. Restarting server... .... Environment modified. Restarting server...