we are trying to implement svelte-gantt in our angular project and it has problems with the current version (4.4.2):
[error] Error: No known conditions for "./svelte" specifier in "svelte-gantt" package
at e (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:45942:25)
at n (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:45942:646)
at o (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:45942:1297)
at resolveExportsOrImports (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:46563:18)
at resolveDeepImport (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:46586:25)
at tryNodeResolve (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:46351:16)
at ResolveIdContext.resolveId (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:46101:19)
at PluginContainer.resolveId (file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:48893:17)
at async file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:66140:15
at async file:///C:/Users/43650/projects/project/project-client/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-NjL7WTE1.js:49798:14
Hi,
we are trying to implement svelte-gantt in our angular project and it has problems with the current version (4.4.2):
Here is the code:
HTML Template:
<div #ganttElement></div>
Is there any way to fix this?
Thanks!