coryrose1 / livewire-tables

An extension for Laravel Livewire that allows you to effortlessly scaffold datatables with optional pagination, search, and sort.
Other
87 stars 19 forks source link

Class not found on composer install #16

Closed ejntaylor closed 4 years ago

ejntaylor commented 4 years ago

First time using.

run the command: composer require coryrose/livewire-tables

And all looks good until I get the following error:


Package operations: 1 install, 0 updates, 3 removals
  Removing predis/predis (v1.1.1)
  Removing laravel/horizon (v3.2.7)
  Removing cakephp/chronos (1.2.8)
  Installing coryrose/livewire-tables (0.3.0): Downloading (100%)
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Writing lock file
Generating optimized autoload files

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
PHP Fatal error:  Class 'Livewire\Commands\FileManipulationCommand' not found in /Users/user/Documents/Laravel/domain/vendor/coryrose/livewire-tables/src/Commands/MakeLivewireTableCommand.php on line 11

Any ideas? Thanks

ejntaylor commented 4 years ago

I'm sorry for rushing to create an issue - simple solution. Need to add livewire first!

composer require livewire/livewire