Diagnostics
LUM1001: Syntax error
The file is not valid TSX after its <style> blocks are masked.
Severity: error · Category: file format (1xxx)
Reported by: the compiler (Vite plugin, language server).
#What it means
The compiler could not parse the module. Lumiose masks <style> blocks first, so the error is in
the TSX itself: a missing bracket, an unterminated string, a stray < in JSX text, or TypeScript
syntax that OXC does not accept.
#Example
export function Price() {
return <p>Total: {total</p>;
}