Replies: 2 comments 2 replies
-
|
Since this is a syntax error happening in a published dependency, my guess is you're on an old version of Node.js that doesn't support some more modern syntax being used in that library — try upgrading to the latest version and see if that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I have the same issue on linux, with fresh install of node and tailwindcss. It also happens in the standalone cli packages which should have baked-in nodejs. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello please i need help, I can't seem to style it with Tailwind.
i have thys problem
Rebuilding...
SyntaxError: Unexpected token, expected "," (14:19)
at unexpected (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\util.js:99:15)
at expect (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\util.js:86:5)
at parseObj (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\expression.js:759:20)
at parseExprAtom (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\expression.js:553:7)
at parseExprSubscripts (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\expression.js:276:20)
2:20)
57:20)
at baseParseMaybeAssign (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\expression.js:142:20)
at tsParseMaybeAssignWithoutJSX (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\plugins\typescript.js:1580:45) {
pos: 281,
loc: Loc { line: 14, column: 19 }
}
57:20)
at baseParseMaybeAssign (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\traverser\expression.js:142:20)
at tsParseMaybeAssignWithoutJSX (C:\Users\TITE\PycharmProjects\pythonProject1\logistique\theme\static_src\node_modules\sucrase\dist\parser\plugins\typescript.js:1580:45) {
pos: 281,
loc: Loc { line: 14, column: 19 }
}
Originally posted by @Titech8 in #7562 (comment)
Beta Was this translation helpful? Give feedback.
All reactions