Error Resolving tailwind.config.ts During Upgrade to Tailwind CSS v4.0.0 #15929
Replies: 1 comment
-
Heya! This is tracked as an issue in #15220. We're testing a fix for this right now so hopefully it'll be resolved shortly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using the
@tailwindcss/upgrade
tool to upgrade to Tailwind CSS v4.0.0, the tool fails to resolve thetailwind.config.ts
file due to an incorrect path resolution. Below are the steps to reproduce, expected behavior, and error logs.Steps to Reproduce
Expected Behavior
The
@tailwindcss/upgrade
tool should resolve thetailwind.config.ts
file and successfully link it to the CSS file (app/globals.css
).Actual Behavior
The upgrade tool throws the following error:
It seems like the tool is constructing the path incorrectly with an extra
././
prefix, leading to failure in resolving the configuration file.Environment Details
@tailwindcss/upgrade@next
v20.11.1
tailwind.config.ts
app/globals.css
Beta Was this translation helpful? Give feedback.
All reactions