Open
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
See the reproduction.
What is expected?
report Error: [@vue/compiler-sfc] <script> and <script setup> must have the same language type.
rather than random errors.
What is actually happening?
it reports SyntaxError
System Info
System:
OS: Windows 11 10.0.22631
CPU: (6) x64 AMD Ryzen 5 4500U with Radeon Graphics
Memory: 637.19 MB / 7.23 GB
Binaries:
Node: 22.13.1 - C:\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Local\pnpm\yarn.CMD
npm: 10.9.2 - C:\nodejs\npm.CMD
pnpm: 10.7.0 - ~\AppData\Local\pnpm\pnpm.EXE
bun: 1.2.7 - ~\.bun\bin\bun.EXE
Browsers:
Edge: Chromium (133.0.3065.92), ChromiumDev (136.0.3209.2)
Internet Explorer: 11.0.22621.3527
npmPackages:
vue: ^3.5.13 => 3.5.13
Any additional comments?
No response