Lexical error - Unrecognized text after update to 2.0
See original GitHub issueAfter updating the @nuxt/tailwind version, this error appears to me
Version
@nuxtjs/tailwindcss: 2.0.0 nuxt: 2.0.0 node: 12.16.3
Steps to reproduce
npm run build
What is Expected?
Build succeeded
What is actually happening?
ERROR in ./assets/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!./node_modules/postcss-loader/src??ref--3-oneOf-1-2!./assets/css/tailwind.css)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
JisonLexerError: Lexical error on line 1: Unrecognized text.
Erroneous area:
1: 7rem; * calc(1 - var(--space-y-reverse))
^......^
at /app/node_modules/tailwindcss/utilities.css:1:1
at Object.parseError (/app/node_modules/postcss-calc/dist/parser.js:1200:15)
at Object.lexer_parseError [as parseError] (/app/node_modules/postcss-calc/dist/parser.js:2333:44)
Issue Analytics
- State:
- Created 3 years ago
- Comments:12
Top Results From Across the Web
Lexical error - Unrecognized text after update to 2.0 #104
After updating the @nuxt/tailwind version, this error appears to me Version @nuxtjs/tailwindcss: 2.0.0 nuxt: 2.0.0 node: 12.16.3 Steps to ...
Read more >Lexical error on line 1: Unrecognized text. Erroneous area: 1: 0
When I run build, it fails because of Lexical error on line 1: Unrecognized text. Erroneous area: 1: 0 - none. No idea...
Read more >postcss/postcss - Gitter
I have a problem with postcss-nested plugin. When I try to run storybook, it throws me an error referring to that I should...
Read more >compilation issues [#3250654] | Drupal.org
Hi, @bensti this is the bootstrap issue it seems that when generating the CSS file, the compilation fails because of the variable without...
Read more >Handlebars: Lexical Error Due To White Space That Doesn't ...
after update to 2.0. After updating the @nuxt/tailwind version, this error appears to me JisonLexerError: Lexical error on line 1: Unrecognized text.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure why this is closed but here is the fix:
tailwind.js
auto: 'auto'
fromtheme.spacing
Fixed!
I figure out that has to do with: