apexcharts / vue3-apexcharts

šŸ“Š Vue-3 component for ApexCharts
MIT License
306 stars 33 forks source link

Could not find a declaration file for module after Update #98

Closed IgorIlgiyaev closed 1 month ago

IgorIlgiyaev commented 7 months ago

Could not find a declaration file for module 'vue3-apexcharts'. '/Users/igorilgiyaev/VScode/gigjockeyapp/node_modules/vue3-apexcharts/dist/vue3-apexcharts.js' implicitly has an 'any' type. There are types at '/Users/igorilgiyaev/VScode/gigjockeyapp/node_modules/vue3-apexcharts/typings/vue-apexcharts.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vue3-apexcharts' library may need to update its package.json or typings.

src/plugins/index.ts(16,27): error TS7016: Could not find a declaration file for module 'vue3-apexcharts'. '/home/runner/work/gigjockeyapp/gigjockeyapp/node_modules/vue3-apexcharts/dist/vue3-apexcharts.js' implicitly has an 'any' type. There are types at '/home/runner/work/gigjockeyapp/gigjockeyapp/node_modules/vue3-apexcharts/typings/vue-apexcharts.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vue3-apexcharts' library may need to update its package.json or typings. ERROR: "type-check" exited with 2.

Reverted for 1.4.4 for now

jashaj commented 7 months ago

See also #95 and #96

IgorIlgiyaev commented 7 months ago

Just saw now and it is not fixed from what they wrote.

Slokilla commented 6 months ago

No news about this ?

FabianMontoya commented 5 months ago

Some news about it??, I'm working with this and now my build brokes for this reason

oceangravity commented 4 months ago

šŸ‘€

FabianMontoya commented 4 months ago

Little "hack" while the real solution

// eslint-disable-next-line
// @ts-ignore
import VueApexCharts from 'vue3-apexcharts';
oceangravity commented 4 months ago

Little "hack" while the real solution

// eslint-disable-next-line
// @ts-ignore
import VueApexCharts from 'vue3-apexcharts';

I did that too until the release comes out. šŸ˜œ

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

junedchhipa commented 1 month ago

This should be fixed with v1.5.3