# VSCode and Julia 1.9.0-Beta4

**URL:** <https://discourse.julialang.org/t/vscode-and-julia-1-9-0-beta4/94977>\
**Category:** General Usage\
**Created:** [February 21, 2023, 8:06pm UTC](https://discourse.julialang.org/t/vscode-and-julia-1-9-0-beta4/94977 "2023-02-21T20:06:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [February 21, 2023, 8:06pm UTC](https://discourse.julialang.org/t/vscode-and-julia-1-9-0-beta4/94977/1 "2023-02-21T20:06:10Z")

</div>

Any help appreciated in resolving the following problem.  
I have been using VSCode with Julia 1.8.5 and all has been well. Now I am trying 1.9.0-Beta4 and coming up with error messages. These are both in pop up windows and in the output region on VSCode.  
I have been regenerating the manifest.toml file as kind of mentioned in the blog under [New Manifest Format](https://julialang.org/blog/2021/11/julia-1.7-highlights/) by removing the old one and running Pkg.instantiate(). The error messages persist.  
Some of the pop up messages are:

```julia
The Julia Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

```

```julia
The Julia Language Server failed to precompile. Please check the FAQ and the local output.

```

```julia
The Marketplace has extensions that can help with '.4' files

```

```julia
The Marketplace has extensions that can help with '.4' files

```

```julia
Pending response rejected since connection got disposed

```

And the first part of the output section of VSCode gives:

```julia
  Activating project at `c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\environments\languageserver\fallback`
[ Info: Starting the Julia Language Server
ERROR: LoadError: ArgumentError: Package DelimitedFiles [8bb1440f-4735-579b-a4ab-409b98df4dab] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
  [1] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1724
  [2] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1610
  [3] macro expansion
    @ .\loading.jl:1598 [inlined]
  [4] macro expansion
    @ .\lock.jl:267 [inlined]
  [5] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1561
  [6] top-level scope
    @ c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\Compat\src\deprecated.jl:23
  [7] eval(m::Module, e::Any)
    @ Core .\boot.jl:370
  [8] top-level scope
    @ c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\Compat\src\deprecated.jl:22
  [9] include(mod::Module, _path::String)
    @ Base .\Base.jl:457
 [10] include(x::String)
    @ Compat c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\Compat\src\Compat.jl:1
 [11] top-level scope
    @ c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\Compat\src\Compat.jl:1328
 [12] include
    @ .\Base.jl:457 [inlined]
 [13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base .\loading.jl:1995
 [14] top-level scope
    @ stdin:2
in expression starting at c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\Compat\src\deprecated.jl:18
in expression starting at c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\Compat\src\Compat.jl:1
in expression starting at stdin:2
ERROR: LoadError: Failed to precompile Compat [34da2185-b29b-5c13-b0c7-acf172513d20] to "c:\\Users\\jakez\\AppData\\Roaming\\Code\\User\\globalStorage\\julialang.language-julia\\lsdepot\\v1\\compiled\\v1.9\\Compat\\jl_1B29.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2238
  [3] compilecache
    @ .\loading.jl:2111 [inlined]
  [4] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1755
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1610
  [6] macro expansion
    @ .\loading.jl:1598 [inlined]
  [7] macro expansion
    @ .\lock.jl:267 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1561
  [9] include
    @ .\Base.jl:457 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base .\loading.jl:1995
 [11] top-level scope
    @ stdin:2
in expression starting at c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\DataStructures\src\DataStructures.jl:1
in expression starting at stdin:2
ERROR: LoadError: Failed to precompile DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] to "c:\\Users\\jakez\\AppData\\Roaming\\Code\\User\\globalStorage\\julialang.language-julia\\lsdepot\\v1\\compiled\\v1.9\\DataStructures\\jl_1993.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2238
  [3] compilecache
    @ .\loading.jl:2111 [inlined]
  [4] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1755
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1610
  [6] macro expansion
    @ .\loading.jl:1598 [inlined]
  [7] macro expansion
    @ .\lock.jl:267 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1561
  [9] include
    @ .\Base.jl:457 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base .\loading.jl:1995
 [11] top-level scope
    @ stdin:2
in expression starting at c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\JuliaFormatter\src\JuliaFormatter.jl:1
in expression starting at stdin:2
ERROR: LoadError: Failed to precompile JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899] to "c:\\Users\\jakez\\AppData\\Roaming\\Code\\User\\globalStorage\\julialang.language-julia\\lsdepot\\v1\\compiled\\v1.9\\JuliaFormatter\\jl_16B4.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2238
  [3] compilecache
    @ .\loading.jl:2111 [inlined]
  [4] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1755
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1610
  [6] macro expansion
    @ .\loading.jl:1598 [inlined]
  [7] macro expansion
    @ .\lock.jl:267 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1561
  [9] include
    @ .\Base.jl:457 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base .\loading.jl:1995
 [11] top-level scope
    @ stdin:2
in expression starting at c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\packages\LanguageServer\src\LanguageServer.jl:1
in expression starting at stdin:2

The Language Server failed to precompile.
Please make sure you have permissions to write to the LS depot path at
	c:\Users\jakez\AppData\Roaming\Code\User\globalStorage\julialang.language-julia\lsdepot\v1

┌ Error: Some Julia code in the VS Code extension crashed
└ @ Main c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\error_handler.jl:15
ERROR: Failed to precompile LanguageServer [2b0e0bc5-e4fd-59b4-8912-456d1b03d8d7] to "c:\\Users\\jakez\\AppData\\Roaming\\Code\\User\\globalStorage\\julialang.language-julia\\lsdepot\\v1\\compiled\\v1.9\\LanguageServer\\jl_12DC.tmp".
Stacktrace:
 [1] top-level scope
   @ c:\Users\jakez\.vscode\extensions\julialang.language-julia-1.38.2\scripts\languageserver\main.jl:77
 [2] include(mod::Module, _path::String)
   @ Base .\Base.jl:457
 [3] exec_options(opts::Base.JLOptions)
   @ Base .\client.jl:307
 [4] _start()
   @ Base .\client.jl:522

```

---

<div class="post-metadata">

**Author:** ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Post date:** [February 21, 2023, 8:07pm UTC](https://discourse.julialang.org/t/vscode-and-julia-1-9-0-beta4/94977/2 "2023-02-21T20:07:06Z")

</div>

I had some of this. After I installed the `preview` version of the extension it worked.

---

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [February 22, 2023, 11:58am UTC](https://discourse.julialang.org/t/vscode-and-julia-1-9-0-beta4/94977/3 "2023-02-22T11:58:47Z")

</div>

> [@aramirezreyes](#):
>
> After I installed the `preview` version of the extension it worked.

I am afraid I don’t understand. I looked under extensions in VSCode and typed in Julia and nothing came up. I did some browsing on the web under VSCode Marketplace and still nothing obvious.

More detail will be appreciated.

---

<div class="post-metadata">

**Author:** ![mkoculak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkoculak/32/28310_2.png) [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Post date:** [February 22, 2023, 12:21pm UTC](https://discourse.julialang.org/t/vscode-and-julia-1-9-0-beta4/94977/4 "2023-02-22T12:21:04Z")

</div>

In VSCode, if you click on the Julia extension in the extension tab, you should see a dedicated page.  
In the top, there should be a button with `Switch to preview version`, which will install the newer version that supports the latest beta.
