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

Cannot install VLS in VSCode #444

Closed
WindowsXD2023 opened this issue Jun 14, 2023 · 1 comment
Closed

Cannot install VLS in VSCode #444

WindowsXD2023 opened this issue Jun 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@WindowsXD2023
Copy link

Specs:
Windows 7 SP1 64bit
VSCode 1.70.3
V Extension 0.1.14
V 0.3.4 bbd1027

When I try to install VLS through V VSCode Extension I get Error (101): Language server is not installed nor found.; code: 101 error.

Output from extension:

Spawning v ls --json --check...
[v ls] new data: {"error":{"message":"Language server is not installed nor found.; code: 101","code":"101","details":"- If you are using this for the first time, please run\n  `v ls --install` first to download and install VLS.\n- If you are using a custom version of VLS, check if\n  the specified path exists and is a valid executable.\n- If you have an existing installation of VLS, be sure\n  to remove \"vls.config.json\" and \"bin\" located inside\n  \"%USERPROFILE%\\.vls\" and re-install.\n\n  If none of the options listed have solved your issue,\n  please report it at https://github.com/vlang/v/issues"}}
Spawning v ls --json --install...
[v ls] new data: {"message":"Finding prebuilt executables from GitHub release.."}
[v ls] new data: Error 0x80090302 returned by InitializeSecurityContext (2)
Error performing handshake
{"error":{"message":"response does not start with HTTP/, line: ``","code":"0","details":""}}
Spawning v ls --json --check...
[v ls] new data: {"error":{"message":"Language server is not installed nor found.; code: 101","code":"101","details":"- If you are using this for the first time, please run\n  `v ls --install` first to download and install VLS.\n- If you are using a custom version of VLS, check if\n  the specified path exists and is a valid executable.\n- If you have an existing installation of VLS, be sure\n  to remove \"vls.config.json\" and \"bin\" located inside\n  \"%USERPROFILE%\\.vls\" and re-install.\n\n  If none of the options listed have solved your issue,\n  please report it at https://github.com/vlang/v/issues"}}

Running v ls --install manually fails with following error:

> Finding prebuilt executables from GitHub release..
Error 0x80090302 returned by InitializeSecurityContext (2)
Error performing handshake
v ls error: response does not start with HTTP/, line: `` (0)

C:/Users/User/AppData/Local/Temp/v_0/vls.2714178047656411777.tmp.c:9794: at print_backtrace: Backtrace
C:/Users/User/AppData/Local/Temp/v_0/vls.2714178047656411777.tmp.c:22300: by main__VlsUpdater_cli_error
C:/Users/User/AppData/Local/Temp/v_0/vls.2714178047656411777.tmp.c:22407: by main__main
C:/Users/User/AppData/Local/Temp/v_0/vls.2714178047656411777.tmp.c:22902: by wmain
004cb9d8 : by ???
004cbb3b : by ???
7770556d : by ???
@WindowsXD2023 WindowsXD2023 added the bug Something isn't working label Jun 14, 2023
@WindowsXD2023
Copy link
Author

Already resolved by using binary build from source.

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

1 participant