julia-vscode / LanguageServer.jl

An implementation of the Microsoft Language Server Protocol for the Julia language.
Other
365 stars 80 forks source link

VSCode Julia Language Server failed to precompile #1239

Open baisset opened 1 year ago

baisset commented 1 year ago

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

AshtonSBradley commented 5 months ago

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 commented 5 months ago

I updated to Sonoma 14.4.1, no change

pfitzseb commented 5 months ago

Manually deleting the depot folder can help in these cases.