You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading Laravel from 10.x to 11.x with Laravel Shift, I'm trying to re-enabling broadcasting with the command: sail artisan install:broadcasting . Here is the command result:
sail artisan install:broadcasting
INFO Published 'broadcasting' configuration file.
Illuminate\Contracts\Filesystem\FileNotFoundException
File does not exist at path /var/www/html/config/app.php.
at vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:5854▕ if ($this->isFile($path)) {
55▕ return$lock ? $this->sharedGet($path) : file_get_contents($path);
56▕ }
57▕
➜ 58▕ throw newFileNotFoundException("File does not exist at path {$path}.");
59▕ }
60▕
61▕ /**
62▕ * Get the contents of a file as decoded JSON.
+15 vendor frames
16 artisan:13Illuminate\Foundation\Application::handleCommand()
I don't have config/app.php since I'm on Laravel 11 and only bootstrap/app.php with this content (also I already have routes/channels.php):
Laravel Version
11.4.0
PHP Version
8.3.4
Database Driver & Version
PostgreSQL 15.6 (Sail)
Description
After upgrading Laravel from 10.x to 11.x with Laravel Shift, I'm trying to re-enabling broadcasting with the command:
sail artisan install:broadcasting
. Here is the command result:I don't have config/app.php since I'm on Laravel 11 and only bootstrap/app.php with this content (also I already have routes/channels.php):
Logs:
Steps To Reproduce
In upgraded Laravel 10 to 11 application, following https://laravel.com/docs/11.x/broadcasting#installation guide, run :
php artisan install:broadcasting
Result in error as described above.
The text was updated successfully, but these errors were encountered: