You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to upgrade from Tailwind v3 to v4 using @tailwindcss/upgrade. Unfortunately, the plugin crashes with the following error:
│ Migrating templates…
TypeError: Cannot read properties of undefined (reading 'flatMap')
at ca (file:///home/bennycode/.npm/_npx/0044b4041b3b52e1/node_modules/@tailwindcss/upgrade/dist/index.mjs:229:5661)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried to upgrade from Tailwind v3 to v4 using
@tailwindcss/upgrade
. Unfortunately, the plugin crashes with the following error:Since the package comes without source maps (https://www.npmjs.com/package/@tailwindcss/upgrade?activeTab=code), it is really hard to tell which line makes it crash.
The only usage of
flatMap
that I can see is here:@RobinMalfait, @thecrypticace, @philipp-spiess: Is it possible to provide source maps?
Best,
Benny
Beta Was this translation helpful? Give feedback.
All reactions