Closed kayschima closed 6 months ago
Addition: I do not use WSL on Windows.
I don't think it is related to Reverb itself. The install:broadcasting
command is included with Laravel 11, not Reverb. When running it, TTY is required (check here), but it is not supported in Windows. You can manually install npm dependencies since Reverb was already installed if you reached that part.
npm install --save-dev laravel-echo pusher-js
npm run build
The command is just for convenience. You can check what it is doing and manually perform the steps while the issue is being resolved for Windows. https://github.com/laravel/framework/blob/11.x/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php
I am also on Windows and I can't start it, I get this error :
Undefined constant "Laravel\Reverb\Servers\Reverb\Console\Commands\SIGINT"
Laravel\Reverb\Servers\Reverb\Console\Commands\StartServer::getSubscribedSignals()
@OussamaMater : I guess you're right.
So, this should be either fixed in the Laravel repository or be mentioned in the documentation.
@ThibautGobert: It is related with PCNTL PHP extension which is currently unavailable for Windows
@kayschima Yes exactly!
Right now we have no plans for non WSL versions of Windows sorry.
Seems someone is actually working on a fix: https://github.com/laravel/framework/pull/50495
facing the same issue. I don't use WSL, only Laragon and php extension does not support windows 💀
Re-opening this for now.
We released https://github.com/laravel/framework/pull/50519 in v11.0.5 so please upgrade. Thanks.
Installation works fine now with 11.0.5. The SIGINT error is still there on startup of the service.
Aaaah I thought it was just the issue within framework itself. Seems like a PR was made so we'll get this in soon.
Reverb Version
v1.0.0-beta2
Laravel Version
11.0.2
PHP Version
8.3.2
Description
When I install Reverb I get the error message:
Is Windows not supported for Reverb?
Steps To Reproduce