try adding this to the vite.config.ts file:
Credit: https://github.com/tabler/tabler-icons/issues/1233#issuecomment-2428245119
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
...
'@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
},
}