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

Volar 1.4.2 Error #2663

Closed
matvejs16 opened this issue Apr 21, 2023 · 13 comments
Closed

Volar 1.4.2 Error #2663

matvejs16 opened this issue Apr 21, 2023 · 13 comments
Labels
bug Something isn't working

Comments

@matvejs16
Copy link

image
image
image

Output log:

[Error - 3:15:10 PM] Server initialization failed.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:10 PM] Vue Semantic Server client: couldn't create connection to server.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Info  - 3:15:12 PM] Connection to server got closed. Server will restart.
true
[Error - 3:15:13 PM] Server initialization failed.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:13 PM] Vue Semantic Server client: couldn't create connection to server.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:13 PM] Restarting server failed
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Info  - 3:15:15 PM] Connection to server got closed. Server will restart.
true
[Error - 3:15:15 PM] Server initialization failed.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:15 PM] Vue Semantic Server client: couldn't create connection to server.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:15 PM] Restarting server failed
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Info  - 3:15:17 PM] Connection to server got closed. Server will restart.
true
[Error - 3:15:17 PM] Server initialization failed.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:17 PM] Vue Semantic Server client: couldn't create connection to server.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:17 PM] Restarting server failed
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Info  - 3:15:20 PM] Connection to server got closed. Server will restart.
true
[Error - 3:15:20 PM] Server initialization failed.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:20 PM] Vue Semantic Server client: couldn't create connection to server.
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:20 PM] Restarting server failed
  Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in c:/Users/matve/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
  Code: -32603 
[Error - 3:15:22 PM] The Vue Semantic Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
@qixiaojian310
Copy link

me too

@guozijia
Copy link

Return to version 1.4.0

@matvejs16
Copy link
Author

Return to version 1.4.0

Thanks, that is easy solution. But i preffer to fix that ;)

@laizuan
Copy link

laizuan commented Apr 21, 2023

`> vue-tsc --noEmit --skipLibCheck

composite / incremental is not supported

E:\xxxx\xxxx\xxxx\xxx-web\node_modules.pnpm\vue-tsc@1.4.2_typescript@5.0.4\node_modules\vue-tsc\bin\vue-tsc.js:53
throw err;
^
composite / incremental is not supported
(Use node --trace-uncaught ... to show where the exception was thrown)`

I also got an error, and v1.4.0 has the same error. v1.2.0 It works fine

@matvejs16
Copy link
Author

`> vue-tsc --noEmit --skipLibCheck

composite / incremental is not supported

E:\xxxx\xxxx\xxxx\xxx-web\node_modules.pnpm\vue-tsc@1.4.2_typescript@5.0.4\node_modules\vue-tsc\bin\vue-tsc.js:53 throw err; ^ composite / incremental is not supported (Use node --trace-uncaught ... to show where the exception was thrown)`

I also got an error, and v1.4.0 has the same error. v1.2.0 It works fine

For me V1.4.0 work fine.

@tonyea
Copy link

tonyea commented Apr 21, 2023

The extension is looking inside a folder that doesn't exist: /home/user/.vscode/extensions/ms-vscode.vscode-typescript-next-5.1.20230419/extensions/node_modules/typescript/lib
The second extensions folder is redundant

@bakashigure
Copy link

same
image

@johnsoncodehk
Copy link
Member

You can disable "JavaScript and TypeScript Nightly" extension to avoid this problem for now.

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Apr 21, 2023
@dangsp
Copy link

dangsp commented Apr 22, 2023

您可以暂时禁用“JavaScript 和 TypeScript Nightly”扩展来避免此问题。

yes it worked fine after i disabled it thanks

@a2734961
Copy link

您可以暂时禁用“JavaScript 和 TypeScript Nightly”扩展来避免此问题。

thank you

@xuanxiaoqian
Copy link

You can disable "JavaScript and TypeScript Nightly" extension to avoid this problem for now.

thank

@johnsoncodehk
Copy link
Member

Please try v1.4.3.

@matvejs16
Copy link
Author

Please try v1.4.3.

Now only this message is showing
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants