qruto/laravel-wave

[Bug]: Error when running php artisan install:broadcasting

Closed this issue · 1 comments

What happened?

Error Exception after Published 'channels' route file.

copy(/Users/project/mylaravelproject/vendor/qruto/laravel-wave/src/Console/Commands/../../../vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/broadcasting-routes.stub): Failed to open stream: No such file or directory

How to reproduce the bug

  1. install laravel
  2. Run composer require qruto/laravel-wave
  3. Run php artisan install:broadcasting

Package Version

0.9

PHP Version

8.2.14

Laravel Version

11.2.0

Which operating systems does with happen with?

macOS

Notes

I suggest in BroadcastingInstallCommand.php do not using relative paths to copy stubs. instead using basepath to the stub file.

Thank you.

Fixed in 0.9.1

Thank you for the report!