-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver won't download with Telescope enabled #1049
Comments
I believe this is due to https://github.com/laravel/telescope/blob/4.x/src/Watchers/ClientRequestWatcher.php as the latest version uses Laravel HTTP Client. |
Heya. Why are you using Telescope on CI? |
It was enabled by accident. I never noticed it being enabled because all tests my succeeded. I found the issue after upgrading Telescope today and then tried it locally where it failed too :) |
@crynobone what are your thoughts? Should we get HTTP client out of that command again? |
There few options we can do:
Other solutions that feel too complex to solve a small issue:
|
Could you please create a new tag for this fix? I cant install this fix without using "dev-master". Thanks! |
Has this fix been published? I am still getting this error locally running 7.9.1. @taylorotwell |
v7.9.2 has been released. |
Dusk Version
7.9.1
Laravel Version
10.16.1
PHP Version
8.2
PHPUnit Version
10.2.6
Database Driver & Version
No response
Description
When Laravel Telescope is enabled the Chrome driver won't download. A RuntimeException is thrown with the message
Cannot read from non-readable stream
. Disabling Telescope (usingTELESCOPE_ENABLED
) fixes it. I've had the issue on both Github Actions and local (using Sail).The issue appeared after upgrading to Telescope 4.15.2.
Steps To Reproduce
php artisan dusk:chrome-driver --detect
RuntimeException
is thrown.php artisan dusk:chrome-driver --detect
again.The text was updated successfully, but these errors were encountered: