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

Tailwindcss v4.0.0 not working on fumadocs-ui #1329

Closed
shiqocred opened this issue Jan 27, 2025 · 1 comment
Closed

Tailwindcss v4.0.0 not working on fumadocs-ui #1329

shiqocred opened this issue Jan 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@shiqocred
Copy link

shiqocred commented Jan 27, 2025

To Reproduce

  1. i clone project from examples/openapi
  2. bun dev
  3. error

Error: Package path ./css/black.css is not exported from package /Users/macpro/Downloads/fumadocs-dev/examples/openapi/node_modules/fumadocs-ui (see exports field in /Users/macpro/Downloads/fumadocs-dev/examples/openapi/node_modules/fumadocs-ui/package.json)

Current vs. Expected behavior

I have done the steps to use tailwindcss v4 like what in examples but an error appears

Error: Package path ./css/black.css is not exported from package /Users/macpro/Downloads/fumadocs-dev/examples/openapi/node_modules/fumadocs-ui (see exports field in /Users/macpro/Downloads/fumadocs-dev/examples/openapi/node_modules/fumadocs-ui/package.json)

i think this error comes from fumadocs-ui

Provide environment information

"dependencies": {
    "@scalar/api-client-react": "^1.1.17",
    "fumadocs-core": "^14.7.7",
    "fumadocs-mdx": "^11.3.1",
    "fumadocs-openapi": "^5.11.8",
    "fumadocs-ui": "^14.7.7",
    "next": "15.1.6",
    "react": "19.0.0",
    "react-dom": "19.0.0",
    "shiki": "^2.1.0",
    "zod": "^3.24.1"
  },
  "devDependencies": {
    "@tailwindcss/postcss": "^4.0.0",
    "@types/mdx": "^2.0.13",
    "@types/node": "22.10.9",
    "@types/react": "^19.0.8",
    "@types/react-dom": "^19.0.3",
    "postcss": "^8.5.1",
    "rimraf": "^6.0.1",
    "tailwindcss": "^4.0.0",
    "typescript": "^5.7.3"
  }

Which area(s) are affected? (Select all that apply)

UI

Additional context

No response

@shiqocred shiqocred added the bug Something isn't working label Jan 27, 2025
@fuma-nama
Copy link
Owner

Please see #1313

@fuma-nama fuma-nama closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants