- Issue created by @maxilein
- πΊπΈUnited States Adam.bauer Juneau, Alaska
I am having the same issue, Drupal 10.2.7, php 8.1.29, Apache 2.4.59 server, MySQL 8.0.37
I have loaded the echarts with:
composer remove --prefer-dist npm-asset/echartsand verified that echarts exists in the libraries folder
I am not a composer expert but the echarts composer is looking for "apache/echarts", but my Drupal composer call it "npm-asset/echarts"
composer require 'drupal/charts_echarts:^1.0' --with-all-dependencies
returns this error:
- drupal/charts_echarts[1.0.0-alpha4, ..., 1.0.x-dev] require apache/echarts 5.3.2 -> could not be found in any version, there may be a typo in the package name. - π¬π§United Kingdom aaron.ferris
aaron.ferris β made their first commit to this issueβs fork.
- π¬π§United Kingdom aaron.ferris
Alos noticed this, played with the idea of swapping out to GitHub, but as above we could use
npm-asset
instead? - πΊπΈUnited States R_H-L
There's a couple of things going on. I am not sure why their composer.json doesn't resolve the dependency issue. It's also odd that the readme has you go through a bunch of steps to install the NPM, when the statement in their on composer should install it. That should really be updated, as the method described creates a ton of bloat.
I any case, I copied and pasted the package data for apache/echarts into my main composer.json and it let things install fine, and does pull down the latest version at time of install.
- π²π½Mexico emmavega
I have the same problem, I can't finish installing it on a drupal 10.3.6, the error text it gives me is the following:
Problem 1
- drupal/charts_echarts[1.0.0-alpha1, ..., 1.0.0-alpha3] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but the package is fixed to 10.3.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- drupal/charts_echarts[1.0.0-alpha4, ..., 1.0.x-dev] require apache/echarts 5.3.2 -> could not be found in any version, there may be a typo in the package name.
- Root composer.json requires drupal/charts_echarts ^1.0 -> satisfiable by drupal/charts_echarts[1.0.0-alpha1, ..., 1.0.x-dev].Has anyone found something new?
- First commit to issue fork.
- πΊπΈUnited States andileco
Hi All! Apologies for not seeing this earlier. I updated the merge request with some code that's worked for me on the new Apexcharts.js (drupal.org/project/charts_apexcharts) module. Please try it out and let me know if it works!