-
-
Notifications
You must be signed in to change notification settings - Fork 496
Open
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it firstpending triage
Description
Vue - Official extension or vue-tsc version
3.1.3
VSCode version
1.105.1
Vue version
2.7.16
TypeScript version
5.9.3
System Info
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 AMD Ryzen 5 5500U with Radeon Graphics
Memory: 8.64 GB / 15.34 GB
Binaries:
Node: 22.21.0 - C:\Users\AX\AppData\Local\mise\installs\node\22.21.0\node.EXE
npm: 10.9.4 - C:\Users\AX\AppData\Local\mise\installs\node\22.21.0\npm.CMD
pnpm: 10.19.0 - C:\Users\AX\AppData\Local\mise\installs\pnpm\10.19.0\pnpm.EXE
Browsers:
Edge: Chromium (141.0.3537.85)
Internet Explorer: 11.0.19041.5794package.json dependencies
Steps to reproduce
- Clone the repository on a Windows machine:
git clone https://github.com/curlykay/issue-vls-vue2.git - Open the cloned project in Visual Studio Code.
- Ensure the Vue(Official) extension is installed and enabled.
- Open the file
src/App.vue. - Wait for the
@vue/language-server(VLS) to initialize.
What is expected?
The @vue/language-server should initialize successfully without any errors. The language features for Vue 2, such as syntax highlighting, type checking, and autocompletion, should function correctly within the .vue file.
What is actually happening?
After the @vue/language-server initializes, an error message appears directly within the src/App.vue editor. This indicates that the language server has failed to process the component correctly on the Windows platform. The same project and configuration work as expected on macOS.
Link to minimal reproduction
https://github.com/curlykay/issue-vls-vue2
Any additional comments?
- This issue appears to be specific to the Windows platform.
- The project is configured using the officially recommended legacy compatibility solution for Vue 2, as described here: Dropping Vue 2 and Class Component Support in v3.1 #5455 (comment)
Metadata
Metadata
Assignees
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it firstpending triage