Skip to content

[Bug?]: Type error when adding Tailwind Vite plugin #1836

Closed

Description

@mintydev789

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

I get this type error when adding the tailwindcss() Vite plugin using the default project setup (I used Deno though, but probably shouldn't matter).

Image

Expected behavior 🤔

No response

Steps to reproduce 🕹

Steps:

  1. Create new project with the recommended Deno setup: deno run -A npm:create-solid. Use the solid start basic template with Typescript (keep in mind that the official setup hangs after it finishes, requiring Ctrl+Z to exit; this is probably also a bug).
  2. deno add --allow-scripts npm:tailwindcss
  3. Add this to the config object in app.config.ts:
  vite: {
    plugins: [
      tailwindcss(),
    ],
  },

Context 🔦

No response

Your environment 🌎

Activity

  1. brenelz commented on Mar 4, 2025

    @brenelz
    Contributor

    I just tested this our on my machine and seemed like it worked. It could be deno tho. Could you provide reproduction steps?

  2. mintydev789 commented on Apr 12, 2025

    @mintydev789
    Author

    I just tested this our on my machine and seemed like it worked. It could be deno tho. Could you provide reproduction steps?

    @brenelz added steps to reproduce above

  3. yamada-sexta commented on Oct 18, 2025

    @yamada-sexta

    I am having the exact same issue. It seems like the vite version is too new. I am using bun.

  4. yamada-sexta commented on Oct 18, 2025

    @yamada-sexta

    I tried it again with NPM, and it has the same issue. I eventually got it working with pnpm, which is not ideal.

  5. birkskyum commented on Jul 25, 2026

    @birkskyum
    Member

    @mintydev789 , @yamada-sexta is this still an issue with latest tailwind vite plugin and solidstart v2 version?

  6. birkskyum commented on Jul 25, 2026

    @birkskyum
    Member

    I've tried, but I can't reproduce this in SolidStart v2. If you still see it, feel free to reopen with a fresh repro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions