yajra/laravel-datatables-html

Cannot install - laravel 8

dyanakiev opened this issue · 1 comments

Summary of problem or feature request

Hello,
I installed "yajra/laravel-datatables-oracle": "~9.0" and now im trying to install yajra/laravel-datatables-html:^4.0 and its failing, im attaching the composer error.

I even tried installing the bundle but then i get out of memory errors because i guess composer cant resolve the dependencies.

Code snippet of problem

composer require yajra/laravel-datatables-html:^4.0
    1/1:        http://repo.packagist.org/p/provider-latestxxxxxx.json
    Finished: success: 1, skipped: 0, failure: 0, total: 1
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: yajra/laravel-datatables-oracle[8.0.x-dev, v9.11.0].
    - Can only install one of: yajra/laravel-datatables-oracle[v9.11.0, 8.0.x-dev].
    - Can only install one of: yajra/laravel-datatables-oracle[8.0.x-dev, v9.11.0].
    - yajra/laravel-datatables-html v4.0.0 requires yajra/laravel-datatables-oracle 8.* -> satisfiable by yajra/laravel-datatables-oracle[8.0.x-dev].
    - Installation request for yajra/laravel-datatables-html 4.0 -> satisfiable by yajra/laravel-datatables-html[v4.0.0].
    - Installation request for yajra/laravel-datatables-oracle (locked at v9.11.0, required as ~9.0) -> satisfiable by yajra/laravel-datatables-oracle[v9.11.0].

Installation failed, reverting ./composer.json to its original content.

System details

  • Operating System: Windows
  • PHP Version - 7.4
  • Laravel Version - 8
  • Laravel-DataTables Version - ~9.0

I fixed it in my branch and suggested change here #135
Note: this might not be the correct way, but it works for me.