Unfortunately, I cannot provide exact steps to reproduce this issue as it seems to occur in my specific project. The error appears when I am working with Vue Language Server in VSCode Insiders.
I can share what's happening and how I get error:
Launch Vue TS project.
Work in project for some time, see VSCode message that Vue language crashed more than 5 times and that server will not be restarted.
Open output log in VSCode and select Vue Language Server in selector.
Restart Vue by using command: vue.action.restartServer (Shift + P -> Vue: Restart Vue and TS servers)
See error mesage (example below: What is actually happening?)
What is expected?
The Vue Language Server should function normally without crashing.
What is actually happening?
The server process exits with the following error:
TypeError: Cannot read properties of undefined (reading 'arguments')
at _A (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:3064)
at _A.next (<anonymous>)
at Si (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:6283)
at Si.next (<anonymous>)
at Vf (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:7353)
at Vf.next (<anonymous>)
at cB (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:231:1121)
at cB.next (<anonymous>)
at Si (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:5773)
at Si.next (<anonymous>)
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-configured-0
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-inferred-0
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-configured-1
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-inferred-1
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-inferred-0 in 10ms
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-inferred-1 in 10ms
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-inferred-2 in 10ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-inferred-0 in 11ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-inferred-1 in 12ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-inferred-2 in 12ms
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-configured-0 in 2ms
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-configured-1 in 2ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-configured-0 in 216ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-configured-1 in 216ms
TypeError: Cannot read properties of undefined (reading 'arguments')
at _A (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:3064)
at _A.next (<anonymous>)
at Si (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:6283)
at Si.next (<anonymous>)
at Vf (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:7353)
at Vf.next (<anonymous>)
at cB (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:231:1121)
at cB.next (<anonymous>)
at Si (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:5773)
at Si.next (<anonymous>)
Link to minimal reproduction
No response
Any additional comments?
If anyone can suggest where to look (what processes causes this error), that I can try to identify the cause.
Here is a snippet of the log for reference:
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-configured-0
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-inferred-0
[Vue Named Pipe Client] Deleting: /tmp/vue-named-pipe-2.1.6-configured-1
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-inferred-0 in 3ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-inferred-0 in 5ms
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-configured-0 in 2ms
[Vue Named Pipe Client] Connected: /tmp/vue-named-pipe-2.1.6-configured-1 in 2ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-configured-0 in 284ms
[Vue Named Pipe Client] Ready: /tmp/vue-named-pipe-2.1.6-configured-1 in 284ms
TypeError: Cannot read properties of undefined (reading 'arguments')
at _A (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:3064)
at _A.next (<anonymous>)
at Si (/home/genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:6283)
at Si.next (<anonymous>)
at Vf (/home.genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:7353)
at Vf.next (<anonymous>)
at cB (/home.genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:231:1121)
at cB.next (<anonymous>)
at Si (/home.genrem/.vscode-insiders/extensions/vue.volar-2.1.6/dist/server.js:230:5773)
at Si.next (<anonymous>)
Vue - Official extension or vue-tsc version
v2.1.6
VSCode version
1.94.0-insider
Vue version
v3.5.9
TypeScript version
v5.6.2
System Info
package.json dependencies
Steps to reproduce
Unfortunately, I cannot provide exact steps to reproduce this issue as it seems to occur in my specific project. The error appears when I am working with Vue Language Server in VSCode Insiders.
I can share what's happening and how I get error:
vue.action.restartServer
(Shift + P
->Vue: Restart Vue and TS servers
)What is actually happening?
)What is expected?
The Vue Language Server should function normally without crashing.
What is actually happening?
The server process exits with the following error:
Link to minimal reproduction
No response
Any additional comments?
If anyone can suggest where to look (what processes causes this error), that I can try to identify the cause. Here is a snippet of the log for reference: