Open viamedev opened 4 years ago
+1 Laravel 8 jetstream
👍
+1
Using version ^1.0 for harmonic/inertia-table
./composer.json has been updated
Running composer update harmonic/inertia-table
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- harmonic/inertia-table[v1.0.0, ..., v1.0.5] require illuminate/support ~5 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but it conflicts with another require.
- harmonic/inertia-table[v1.0.6, ..., v1.0.7] require illuminate/support ~5 || ~6 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but it conflicts with another require.
- Root composer.json requires harmonic/inertia-table ^1.0 -> satisfiable by harmonic/inertia-table[v1.0.0, ..., v1.0.7].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I was really eager to use this, the VueJS side of things installed and set up without a hitch. Is it not just a tweak of the composer.json version values to fix this issue?
I'm trying to push an update (Merge request) to the repo, ran into this snag
./composer.json has been updated
Running composer update harmonic/inertia-table
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
- Locking harmonic/inertia-table (dev-master)
- Locking reinink/remember-query-strings (v0.1.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing reinink/remember-query-strings (v0.1.0): Extracting archive
- Installing harmonic/inertia-table (dev-master): Symlinking from inertia-table
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
PHP Fatal error: Trait 'Illuminate\Console\DetectsApplicationNamespace' not found in /Users/xxxxxx/inertia-table/src/Commands/MakeInertiaTable.php on line 12
Looks like this was deprecated quite some time ago, around Laravel 7 - sourcing the alternative now
@gbrits
Seems like this could be easily replaced by the new
Illuminate\Console\DetectsApplicationNamespace;
Had no time to try it, but will do asap.
Thanks @wannymiarelli
If you are happy to implement this send through a PR and I'll get it live.
I ended up hardcoding App\Models into mine and got it all working with Laravel 8. I can create a PR for this if you want?
Sounds great @gbrits send it through and I'll take a look! Thanks!
I got same issue. Any sugguest to fix inwhile waiting for merge complete? Thanks so much!
@craigharman @gbrits
any luck with this?
Please make it compatible with the latest and greatest. I'm sure all the requirements are met by default, just need a few tweaks to make it officially compatible.
Great package btw!