apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.03k stars 1.28k forks source link

Cannot install apexcharts using npm-asset #4549

Open CarstenHager opened 3 days ago

CarstenHager commented 3 days ago

Description

I would like to add apexcharts as a dependency in my Composer.json file.

"npm-asset/apexcharts": "^3.49"

Steps to Reproduce

  1. create composer file ( link to my composer.json )
  2. add npm-asset/apexcharts as dependency
  3. run composer update

Expected Behavior

Actual Behavior

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - npm-asset/svg.resize.js 1.4.3 requires npm-asset/svg.select.js >=2.1.2,<3.0.0 -> satisfiable by npm-asset/svg.select.js[2.1.2].
    - You can only install one version of a package, so only one of these can be installed: npm-asset/svg.select.js[2.1.2, 3.0.1].
    - npm-asset/apexcharts[3.49.0, ..., 3.49.2] require npm-asset/svg.resize.js >=1.4.3,<2.0.0 -> satisfiable by npm-asset/svg.resize.js[1.4.3].
    - npm-asset/apexcharts[3.49.0, ..., 3.49.2] require npm-asset/svg.select.js >=3.0.1,<4.0.0 -> satisfiable by npm-asset/svg.select.js[3.0.1].
    - Root composer.json requires npm-asset/apexcharts ^3.49 -> satisfiable by npm-asset/apexcharts[3.49.0, 3.49.1, 3.49.2].

Screenshots

Reproduction Link