ArielMejiaDev / larapex-charts

A Laravel wrapper for apex charts
https://larapex-charts.netlify.app/
MIT License
290 stars 83 forks source link

Installation failed with Laravel 9 #50

Closed eina84 closed 2 years ago

eina84 commented 2 years ago
$ composer require arielmejiadev/larapex-charts
Using version ^3.0 for arielmejiadev/larapex-charts
./composer.json has been updated
Running composer update arielmejiadev/larapex-charts
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - arielmejiadev/larapex-charts[3.0.0, ..., 3.0.1] require illuminate/support ^8.0 -> found illuminate/support[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires arielmejiadev/larapex-charts ^3.0 -> satisfiable by arielmejiadev/larapex-charts[3.0.0, 3.0.1].

This is a completely fresh install of a new Laravel 9 app based on Laravel 9 docs:

composer create-project laravel/laravel example-app
cd example-app
php artisan serve

I am out of my depth here but maybe something to do with illuminate/support being replaced by laravel/framework?

jamesmills commented 2 years ago

@eina84 you just need to wait until this package has been updated to work with Laravel 9.

There is a PR by @ArielMejiaDev open for this https://github.com/ArielMejiaDev/larapex-charts/pull/51

bhdrnzl commented 2 years ago

now it works in laravel 9