himynameisdave / svelte-frappe-charts

📈 Svelte bindings for frappe-charts.
https://frappe.io/charts
MIT License
310 stars 16 forks source link

Error from Svelte Intellisense Languague Server #65

Open AnhNgDo opened 1 year ago

AnhNgDo commented 1 year ago

Good day - I've got the following error when using the module with SvelteKit:

[Error - 11:47:33 AM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: EISDIR: illegal operation on a directory, read
  Code: -32603 

The chart component seems to be rendered correctly so I'm not sure what to make of the issue. If it helps, there's also a warning in VS Code as below:

Could not find a declaration file for module 'svelte-frappe-charts'. '......../node_modules/svelte-frappe-charts/lib/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/svelte-frappe-charts` if it exists or add a new declaration (.d.ts) file containing `declare module 'svelte-frappe-charts';`js(7016)

Thanks!