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

Vue Language Features (Volar) 1.8.7 "Server initialization failed" #3454

Closed
maxoyed opened this issue Jul 26, 2023 · 6 comments
Closed

Vue Language Features (Volar) 1.8.7 "Server initialization failed" #3454

maxoyed opened this issue Jul 26, 2023 · 6 comments
Labels
duplicate This issue or pull request already exists good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first

Comments

@maxoyed
Copy link

maxoyed commented Jul 26, 2023

I just update to the latest version 1.8.7, with builtin JS/TS support plugin disabled, still can not start server.

node:internal/modules/cjs/loader:1013
  throw err;
  ^

Error: Cannot find module 'typescript/lib/tsserverlibrary'
Require stack:
- c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\dist\server.js
- c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1010:15)
    at Module._load (node:internal/modules/cjs/loader:858:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1082:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\dist\server.js:430:7188
    at c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\dist\server.js:1:348
    at c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\dist\server.js:440:9692
    at c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\dist\server.js:1:348
    at c:\Users\maxoy\.vscode\extensions\vue.volar-1.8.7\dist\server.js:441:14115 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'c:\\Users\\maxoy\\.vscode\\extensions\\vue.volar-1.8.7\\dist\\server.js',
    'c:\\Users\\maxoy\\.vscode\\extensions\\vue.volar-1.8.7\\server.js'
  ]
}
[Error - 04:05:23] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 04:05:23] Connection to server got closed. Server will restart.
true
[Error - 04:05:23] Vue Syntactic Server client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097

Downgrade to 1.8.6 works for me.

My environment:

  • OS: Windows11 Pro Edition 22H2 22621.1992
  • Node.js: 18.16.1
@jerome-benoit
Copy link

Exactly the same error with the same extension version under GNU/Linux and MacOSX.

@TiagoRibeiro25
Copy link

same

@gustavoconter
Copy link

Same error here

@HugeLetters
Copy link

same

@johnsoncodehk
Copy link
Member

Duplicate of #3453

@johnsoncodehk johnsoncodehk marked this as a duplicate of #3453 Jul 26, 2023
@johnsoncodehk johnsoncodehk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2023
@johnsoncodehk johnsoncodehk added duplicate This issue or pull request already exists good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first labels Jul 26, 2023
@maxoyed
Copy link
Author

maxoyed commented Jul 27, 2023

Thx, latest version 1.8.8 works

pull bot pushed a commit to so1ve/language-tools that referenced this issue Jul 27, 2023
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 good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first
Projects
None yet
Development

No branches or pull requests

6 participants