Tailwind v4 cursor:url(hand.cur) parsing error with Next.js Turbopack #18990
Unanswered
windsornguyen
asked this question in
Help
Replies: 1 comment
-
This happens because Tailwind scans the files in
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your issue
There is a mysterious error that occurs when using the Next.js
--turbo
flag in a project where there are additional Tailwind directives in non-traditional places that were not meant to be read, e.g.docs/
.What version of Tailwind CSS are you using?
For example: v4.1.13
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 15.5.4
React: 19.1.0
React-DOM: 19.1.0
What version of Node.js are you using?
v22.11.0
What browser are you using?
Arc
What operating system are you using?
MacOS
Reproduction
npx create-next-app@latest tailwind-bug --typescript --eslint --app
cd tailwind-bug
npm install
next dev --turbo
At this point, the Next.js server should run normally as expected.
git clone https://github.com/windsornguyen/tailwindcss-v4-docs
--turbo
flag again, which should trigger the error:next dev --turbo
Error stack trace:
This issue also occurs sometimes when using some combination of React 19 and the Next.js experimental compiler, although the reproduction of that is less reliable and will therefore be omitted in this bug report.
There is also some weird version mismatch error between React 19.1.1 and React-DOM 19.1.0 that may be propagated from the internal versioning of Next.js.
Beta Was this translation helpful? Give feedback.
All reactions