diff --git a/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php b/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php index b42987be7676..7e567ca7652a 100644 --- a/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php +++ b/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php @@ -163,6 +163,11 @@ protected function installNodeDependencies() 'yarn add --dev laravel-echo pusher-js', 'yarn run build', ]; + } elseif (file_exists(base_path('bun.lockb'))) { + $commands = [ + 'bun add --dev laravel-echo pusher-js', + 'bun run build', + ]; } else { $commands = [ 'npm install --save-dev laravel-echo pusher-js',