Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'tailwind-variants/dist/config' #15

Open
nghyane opened this issue Jul 6, 2024 · 1 comment
Open

Cannot find module 'tailwind-variants/dist/config' #15

nghyane opened this issue Jul 6, 2024 · 1 comment

Comments

@nghyane
Copy link

nghyane commented Jul 6, 2024

When build i get this error, how can fix it :(

node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/visualizations/tooltip.d.ts:91:22 - error TS2307: Cannot find module 'tailwind-variants/dist/config' or its corresponding type declarations.

91 }, undefined, import("tailwind-variants/dist/config").TVConfig<{
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 159 errors in 30 files.

Errors  Files
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/accordion.d.ts:37
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/aligner.d.ts:5
     4  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/annonce.d.ts:14
    15  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/avatar.d.ts:1
    14  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/badge.d.ts:8
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/banner.d.ts:23
    19  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/button.d.ts:29
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/calendar.d.ts:68
     4  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/card.d.ts:11
     5  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/checkbox.d.ts:9
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/dialog.d.ts:17
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/drawer.d.ts:34
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/form.d.ts:66
    12  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/menu.d.ts:41
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/popover.d.ts:16
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/progress.d.ts:182
     5  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/radio.d.ts:23
     3  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/scrollArea.d.ts:13
    12  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/select.d.ts:40
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/separator.d.ts:12
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/slider.d.ts:69
     5  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/switch.d.ts:24
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/tabs.d.ts:83
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/toast.d.ts:22
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/toggle.d.ts:68
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/tooltip.d.ts:17
    19  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/typography.d.ts:14
     4  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/visualizations/area.d.ts:12
     6  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/visualizations/index.d.ts:1
     2  node_modules/.pnpm/@[email protected][email protected]/node_modules/@tailus/themer/dist/components/visualizations/tooltip.d.ts:23
@nghyane
Copy link
Author

nghyane commented Jul 6, 2024

I temporarily fixed it by adding to tsconfig.json

{
  "skipLibCheck": true,
  ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant