You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Chart.js with SvelteKit. In development mode everything works fine, but when I try to build the project I get the following error.
Directory import 'C:\directory\node_modules\chart.js\auto' is not supported resolving ES modules imported from C:\directory\.svelte-kit\output\server\app.js
Did you mean to import chart.js/auto/auto.js?
Reproduction
Build a project with Chart.js, and run the preview.
Logs
Directory import 'C:\directory\node_modules\chart.js\auto' is not supported resolving ES modules imported from C:\directory\Application development\directory\.svelte-kit\output\server\app.js
Did you mean to import chart.js/auto/auto.js?
Describe the bug
I'm trying to use Chart.js with SvelteKit. In development mode everything works fine, but when I try to build the project I get the following error.
Reproduction
Build a project with Chart.js, and run the preview.
Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: