apexcharts / vue3-apexcharts

📊 Vue-3 component for ApexCharts
MIT License
314 stars 35 forks source link

ERESOLVE unable to resolve dependency tree #133

Closed enrymari closed 5 hours ago

enrymari commented 7 hours ago

This morning i have this messages when i try to update my laravel project with npm update:

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: apexcharts@3.54.1
npm error node_modules/apexcharts
npm error   apexcharts@"^3.54.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer apexcharts@">=4.0.0" from vue3-apexcharts@1.8.0
npm error node_modules/vue3-apexcharts
npm error   vue3-apexcharts@"^1.7.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

I see this package updated just few hours ago, may be this is the issue? Thanks!

junedchhipa commented 5 hours ago

Which apexcharts version you have in your package.json?

enrymari commented 5 hours ago

I have "apexcharts": "^3.54.1", in "dependencies" of package.json

Astrophonx commented 5 hours ago

change apexcharts version in your package.json "apexcharts": "^4.0.0",

enrymari commented 5 hours ago

Now it's ok. Sorry, I'm not yet familiar with how dependencies work, thanks!