Replies: 2 comments 7 replies
-
I'm not sure if adding |
Beta Was this translation helpful? Give feedback.
-
(📝 I am using a translator) Are there any large files (e.g., mechanically generated JSON files) included in the group of files subject to change? I've encountered the same behavior.
For the purposes of this analysis, we rewrote the code as follows. tailwindcss/packages/@tailwindcss-upgrade/src/index.ts Lines 296 to 301 in 4d37043 for await (const file of filesToMigrate) {
console.log(`Migrating: ${highlight(file)}`)
await migrate(designSystem, config?.userConfig ?? null, file);
console.log(`Migrated: ${highlight(file)}`)
} When I ran it, I found that it was stuck at "Migrating" as shown below, but I realized that the file causing the problem was always the same. ![]() Upon checking the target file, we found that it was a VERY long JSON file generated for documentation purposes. After deleting this file, the migration command completed without any problems. I don't know if you have the same cause, but I hope this information is helpful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Attempting to upgrade Tailwind from V3 to V4 in a Laravel 12 project.
The upgrade tool continues to hang on the
Migrating templates...
step. I've let it run for ~30 minutes before sending SIGTERM and attempting multiple times, with the same results.We have a hundred or so JSX files in the project...nothing crazy. FWIW, all of the template files in the project have diffs which leads me to believe they are migrated successfully, but the tool is stuck on something.
I cannot find other discussions or issues on this topic, so I'm asking here. How can I investigate this further?
Node: 20.18.0
TailwindCSS: 4.1.11
MacOS: 14.6.1
Beta Was this translation helpful? Give feedback.
All reactions