-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
没升上去,因为遇到问题如下:
start Compiling...
error Compile error:
Failed to compile, check the errors for troubleshooting.
File: /Users/chencheng/Documents/Code/github.com/umijs/benchmark/projects/turbopack-test-app/src/comps/triangle.jsx:1:1
× Module build failed:
├─▶ ×
│ │ x Expression expected
│ │ ,-[/Users/chencheng/Documents/Code/github.com/umijs/benchmark/projects/turbopack-test-app/src/comps/triangle.jsx:21:1]
│ │ 21 | }
│ │ 22 | }, [EFFECT_PROPS]);
│ │ 23 |
│ │ 24 | return <>
│ │ : ^
│ │ 25 | <g transform="translate(0 -2.16) scale(0.5 0.5)">
│ │ 26 | <A style={style} />
│ │ 27 | </g>
│ │ `----
│ │
│ │ x Expected '>', got 'transform'
│ │ ,-[/Users/chencheng/Documents/Code/github.com/umijs/benchmark/projects/turbopack-test-app/src/comps/triangle.jsx:22:1]
│ │ 22 | }, [EFFECT_PROPS]);
│ │ 23 |
│ │ 24 | return <>
│ │ 25 | <g transform="translate(0 -2.16) scale(0.5 0.5)">
│ │ : ^^^^^^^^^
│ │ 26 | <A style={style} />
│ │ 27 | </g>
│ │ 28 | <g transform="translate(-2.5 2.16) scale(0.5 0.5)">
│ │ `----
│ │
│
╰─▶ Syntax Error
help: File was processed with this loader: 'builtin:swc-loader??ruleSet[1].rules[2].use[0]'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels