Lexical error on line 1: Unrecognized text. in v4 #14994
Replies: 3 comments 3 replies
-
Hey there! I'm as surprised as you to see this as being marked as unrecognized because it does work in browsers 😅 Do you have some info on how to reproduce this? I've tried to run it inside a Would be cool if we can track down where the parsing goes wrong and send a fix upstream. |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing this error in a nuxt 3 project. My versions are: nuxt: 3.14.1592, |
Beta Was this translation helpful? Give feedback.
-
I think it was a problem with the vite css processor, the problem was solved when I switched from postcss to lightningcss |
Beta Was this translation helpful? Give feedback.
-
What version of Tailwind CSS are you using?
For example: v4.0.0-alpha.30
What build tool (or framework if it abstracts the build tool) are you using?
"@tailwindcss/[email protected]"
"@tailwindcss/[email protected]"
"@tailwindcss/[email protected]"
What version of Node.js are you using?
v20.11.1
What browser are you using?
Chrome
What operating system are you using?
Windows
Describe your issue
WARN [vite:css] Lexical error on line 1: Unrecognized text. 17:04:20
Erroneous area:
1: infinity * 1px
^..^
1117| }
1118| .rounded-full {
1119| border-radius: calc(infinity * 1px);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1120| }
1121| .rounded-lg { (x2)
Beta Was this translation helpful? Give feedback.
All reactions