Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I was just using these two plugins, I couldn't load javascript language services in the vue2 project #3924

Closed
AllisonZw opened this issue Mar 2, 2024 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@AllisonZw
Copy link

image
image

@mseeley
Copy link

mseeley commented Mar 2, 2024

Here as well. I'm testing an upgrade to vue-tsc@2.0.1. Local type checking is fine but VSCodes JS/TS language server is dying. VSCode (1.8.7) is using the workspace's TypeScript at "typescript.tsdk": "node_modules/typescript/lib",

vue-tsc 1.8.27 2.0.1

image

The exthost/vscode.typescript-language-features logs contain only this after the server starts and exits 5 times.

2024-03-01 16:37:53.398 [info] Starting TS Server
2024-03-01 16:37:53.398 [info] Using tsserver from: /Users/komodo/Development/komodo-book/node_modules/typescript/lib/tsserver.js
2024-03-01 16:37:53.398 [info] <syntax> Forking...
2024-03-01 16:37:53.398 [info] <syntax> Starting...
2024-03-01 16:37:53.398 [info] <semantic> Forking...
2024-03-01 16:37:53.398 [info] <semantic> Starting...
2024-03-01 16:37:54.656 [error] TSServer exited. Code: null. Signal: SIGBUS
2024-03-01 16:37:54.656 [info] Starting TS Server
2024-03-01 16:37:54.656 [info] Using tsserver from: /Users/komodo/Development/komodo-book/node_modules/typescript/lib/tsserver.js
2024-03-01 16:37:54.656 [info] <syntax> Forking...
2024-03-01 16:37:54.656 [info] <syntax> Starting...
2024-03-01 16:37:54.656 [info] <semantic> Forking...
2024-03-01 16:37:54.656 [info] <semantic> Starting...
2024-03-01 16:37:55.916 [error] TSServer exited. Code: null. Signal: SIGBUS
2024-03-01 16:37:55.916 [info] Starting TS Server
2024-03-01 16:37:55.916 [info] Using tsserver from: /Users/komodo/Development/komodo-book/node_modules/typescript/lib/tsserver.js
2024-03-01 16:37:55.916 [info] <syntax> Forking...
2024-03-01 16:37:55.916 [info] <syntax> Starting...
2024-03-01 16:37:55.916 [info] <semantic> Forking...
2024-03-01 16:37:55.916 [info] <semantic> Starting...
2024-03-01 16:37:57.104 [error] TSServer exited. Code: null. Signal: SIGBUS
2024-03-01 16:37:57.104 [info] Starting TS Server
2024-03-01 16:37:57.104 [info] Using tsserver from: /Users/komodo/Development/komodo-book/node_modules/typescript/lib/tsserver.js
2024-03-01 16:37:57.104 [info] <syntax> Forking...
2024-03-01 16:37:57.104 [info] <syntax> Starting...
2024-03-01 16:37:57.104 [info] <semantic> Forking...
2024-03-01 16:37:57.104 [info] <semantic> Starting...
2024-03-01 16:37:58.290 [error] TSServer exited. Code: null. Signal: SIGBUS
2024-03-01 16:37:58.290 [info] Starting TS Server
2024-03-01 16:37:58.290 [info] Using tsserver from: /Users/komodo/Development/komodo-book/node_modules/typescript/lib/tsserver.js
2024-03-01 16:37:58.290 [info] <syntax> Forking...
2024-03-01 16:37:58.290 [info] <syntax> Starting...
2024-03-01 16:37:58.290 [info] <semantic> Forking...
2024-03-01 16:37:58.290 [info] <semantic> Starting...
2024-03-01 16:37:59.464 [error] TSServer exited. Code: null. Signal: SIGBUS
2024-03-01 16:37:59.464 [info] Starting TS Server
2024-03-01 16:37:59.464 [info] Using tsserver from: /Users/komodo/Development/komodo-book/node_modules/typescript/lib/tsserver.js
2024-03-01 16:37:59.464 [info] <syntax> Forking...
2024-03-01 16:37:59.464 [info] <syntax> Starting...
2024-03-01 16:37:59.464 [info] <semantic> Forking...
2024-03-01 16:37:59.464 [info] <semantic> Starting...
2024-03-01 16:38:00.635 [error] TSServer exited. Code: null. Signal: SIGBUS

Disabling the vue.volar plugin resolves the issue.

Anything else we can provide?

@mseeley
Copy link

mseeley commented Mar 2, 2024

Volar Takeover Mode is not enabled.

image

After disabling per workspace (to enable takeover mode) then restarting I'm re-greeted by the prompt. But, there are not further JS/TS language server crashes.

image

@yingside
Copy link

yingside commented Mar 2, 2024

Volar Takeover Mode is not enabled.

image After disabling per workspace (to enable takeover mode) then restarting I'm re-greeted by the prompt. But, there are not further JS/TS language server crashes. image

Yes, I know, but the TS prompt is gone. This operation just does not report an error.

@AllisonZw
Copy link
Author

Volar Takeover Mode is not enabled.
image
After disabling per workspace (to enable takeover mode) then restarting I'm re-greeted by the prompt. But, there are not further JS/TS language server crashes.
image

Yes, I know, but the TS prompt is gone. This operation just does not report an error.

Yes, the same thing happened to me

@jamesWongAigniter
Copy link

Downgrade "Vue - Official" extension to 1.8.27 (the latest non 2.x.x version) and the error no longer appears for me.

@so1ve
Copy link
Member

so1ve commented Mar 11, 2024

Duplicate of #3962

@so1ve so1ve marked this as a duplicate of #3962 Mar 11, 2024
@so1ve so1ve closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
@so1ve so1ve added the duplicate This issue or pull request already exists label Mar 11, 2024
@so1ve
Copy link
Member

so1ve commented Mar 11, 2024

#3962 has more detailed info. Let's track at #3962.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants