LanguageServer.jl icon indicating copy to clipboard operation
LanguageServer.jl copied to clipboard

VSCode Julia Language Server failed to precompile

Open baisset opened this issue 2 years ago • 3 comments

Hello,

I’ve tried to install Julia 1.9.3 on my Mac OS Mojave 10.14.6 (previously using Julia 1.8.5 that perfectly worked). I use VScode as editor, but now with Julia 1.9.3, VScode Julia language server fails precompiling and crash with error messages like :

The Language Server failed to precompile. Please make sure you have permissions to write to the LS depot path at /Users/baisset/Library/Application Support/Code/User/globalStorage/julialang.language-julia/lsdepot/v1

┌ Error: Some Julia code in the VS Code extension crashed └ @ Main ~/.vscode/extensions/julialang.language-julia-1.50.1/scripts/error_handler.jl:15 ERROR: Failed to precompile LanguageServer [2b0e0bc5-e4fd-59b4-8912-456d1b03d8d7] to “/Users/baisset/Library/Application Support/Code/User/globalStorage/julialang.language-julia/lsdepot/v1/compiled/v1.9/LanguageServer/jl_yvyGKP”.

Does anyone have an idea of how to solve the problem, as I have to use Julia 1.9 in order to run codes that require last version of Makie (which requires Julia 1.9) ?

Thank you, Marie B

baisset avatar Sep 06 '23 12:09 baisset

i've got the same problem on Ventura 13.5.2 and julia 1.10.1. The FAQ points to ensuring write permissions, but I have them. I can't use VSCode at all until I get some fix or workaround

AshtonSBradley avatar Apr 18 '24 02:04 AshtonSBradley

I updated to Sonoma 14.4.1, no change

AshtonSBradley avatar Apr 18 '24 06:04 AshtonSBradley

Manually deleting the depot folder can help in these cases.

pfitzseb avatar Apr 18 '24 13:04 pfitzseb