Skip to content

Vue server still crashed after upgrading to v2.0.4 in VSCode + Nuxt 3 #3962

Closed
@Bernankez

Description

@Bernankez

Sorry to open a duplicated issue, I want to provide a reproduction here.

Reproduction

Environment

Apple M2
macOS Sonoma 14.2.1
Node v20.9.0
VSCode v1.87.0
pnpm v8.2.0
nuxt v3.2.2
Vue.volar v2.0.4

git clone https://github.com/Bernankez/blog.git
cd blog
pnpm install

After opening a Vue SFC, it alerts
image

outputs

null
null
null
undefined:1


SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Socket.<anonymous> (/Users/cole/.vscode/extensions/vue.volar-2.0.4/dist/server.js:10024:9777)
    at Socket.emit (node:events:526:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v18.17.1
[Error - 14:27:08] Server process exited with code 1.
[Info  - 14:27:08] Connection to server got closed. Server will restart.
true
null
null
null
undefined:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstupstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions