filament/widgets
v3.2.119
v10.48.22
No response
PHP 8.3.0
When I create a widget with make:filament-widget and I provide a resource to the command and select where to create the widget - [App\Livewire] alongside other Livewire components, the command exits with the exceptions below
artisan make:filament-widget TestWidget --resource=InvoiceResource
β What type of widget do you want to create? βββββββββββββββββββ
β Table β
β Where would you like to create this? βββββββββββββββββββββββββ
β [App\Livewire] alongside other Livewire components β
Exception
InvoiceResource
ErrorException
mkdir(): Permission denied
at vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:650
646β {
647β if ($force) {
648β return @mkdir($path, $mode, $recursive);
649β }
β 650β return mkdir($path, $mode, $recursive);
651β }
652β
653β /**
654β * Move a directory.
+17 vendor frames
18 artisan:35
Illuminate\Foundation\Console\Kernel::handle()
On a newly created project, the exception below is thrown
ErrorException
mkdir(): Read-only file system
The command should create a widget successfully when the resource is provided and create alongside other livewire components option is selected.
artisan make:filament-widget TestWidget --resource=InvoiceResource
Table
as widget type[App\Livewire] alongside other Livewire components
https://github.com/samapraku/filament-widget-command-bug
ErrorException
mkdir(): Read-only file system
at vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:651
647β if ($force) {
648β return @mkdir($path, $mode, $recursive);
649β }
650β
β 651β return mkdir($path, $mode, $recursive);
652β }
653β
654β /**
655β * Move a directory.
+18 vendor frames
19 artisan:13
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too