# (VSCode//Julia language) ERROR: LoadError: TOML Parser error:

**URL:** https://discourse.julialang.org/t/vscode-julia-language-error-loaderror-toml-parser-error/130245
**Category:** General Usage
**Tags:** question
**Created:** [June 26, 2025, 4:51pm UTC](https://discourse.julialang.org/t/vscode-julia-language-error-loaderror-toml-parser-error/130245 "2025-06-26T16:51:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anafunguetto](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/anafunguetto/32/217475_2.png) [@anafunguetto](https://discourse.julialang.org/u/anafunguetto)
#### Post date: [June 26, 2025, 4:51pm UTC](https://discourse.julialang.org/t/vscode-julia-language-error-loaderror-toml-parser-error/130245/1 "2025-06-26T16:51:04Z")

</div>

I need help troubleshooting an error in VSCode. I’m working with Pumas AI using the Julia language in VSCode. When I start \>Start REPL I get the following error:

ERROR: LoadError: TOML Parser error:

������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

Stacktrace:

[1] parse

```
@ .\toml_parser.jl:445 [inlined]

```

[2] Base.CachedTOMLDict(p::Base.TOML.Parser, path::String)

```
@ Base .\loading.jl:222

```

[3] (::Base.var"#959#960"{String, Base.TOMLCache})()

```
@ Base .\loading.jl:278

```

[4] lock(f::Base.var"#959#960"{String, Base.TOMLCache}, l::ReentrantLock)

```
@ Base .\lock.jl:229

```

[5] parsed\_toml

```
@ .\loading.jl:275 [inlined]

```

[6] \_parsefile

```
@ C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\Registry\registry_instance.jl:20 [inlined]     

```

[7] parsefile

```
@ C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\Registry\registry_instance.jl:23 [inlined]     

```

[8] Pkg.Registry.RegistryInstance(path::String)

```
@ Pkg.Registry C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\Registry\registry_instance.jl:333 

```

[9] reachable\_registries(; depots::Vector{String})

```
@ Pkg.Registry C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\Registry\registry_instance.jl:434 

```

[10] reachable\_registries

```
@ C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\Registry\registry_instance.jl:404 [inlined]    

```

[11] Pkg.Types.Context()

```
@ Pkg.Types C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\Types.jl:409

```

[12] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{\_from\_loading::Bool})

```
@ Pkg.API C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\API.jl:150

```

[13] precompile

```
@ C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]

```

[14] #precompile#114

```
@ C:\Users\Ana\AppData\Local\Pumas-v2.6.1\Julia-1.10.8\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [inlined]

```

[15] #invokelatest#2

```
@ .\essentials.jl:894 [inlined]

```

[16] invokelatest

```
@ .\essentials.jl:889 [inlined]

```

[17] \_require(pkg::Base.PkgId, env::String)

```
@ Base .\loading.jl:2033

```

[18] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)

```
@ Base .\loading.jl:1882

```

[19] #invoke\_in\_world#3

```
@ .\essentials.jl:926 [inlined]

```

[20] invoke\_in\_world

```
@ .\essentials.jl:923 [inlined]

```

[21] \_require\_prelocked

```
@ .\loading.jl:1873 [inlined]

```

[22] macro expansion

```
@ .\loading.jl:1860 [inlined]

```

[23] macro expansion

```
@ .\lock.jl:267 [inlined]

```

[24] \_\_require(into::Module, mod::Symbol)

```
@ Base .\loading.jl:1823

```

[25] #invoke\_in\_world#3

```
@ .\essentials.jl:926 [inlined]

```

[26] invoke\_in\_world

```
@ .\essentials.jl:923 [inlined]

```

[22] macro expansion

```
@ .\loading.jl:1860 [inlined]

```

[23] macro expansion

```
@ .\lock.jl:267 [inlined]

```

[24] \_\_require(into::Module, mod::Symbol)

```
@ Base .\loading.jl:1823

```

[25] #invoke\_in\_world#3

```
@ .\essentials.jl:926 [inlined]

```

[26] invoke\_in\_world

```
@ .\essentials.jl:923 [inlined]

@ .\loading.jl:1860 [inlined]

```

[23] macro expansion

```
@ .\lock.jl:267 [inlined]

```

[24] \_\_require(into::Module, mod::Symbol)

```
@ Base .\loading.jl:1823

```

[25] #invoke\_in\_world#3

```
@ .\essentials.jl:926 [inlined]

```

[26] invoke\_in\_world

```
@ .\essentials.jl:923 [inlined]

@ .\lock.jl:267 [inlined]

```

[24] \_\_require(into::Module, mod::Symbol)

```
@ Base .\loading.jl:1823

```

[25] #invoke\_in\_world#3

```
@ .\essentials.jl:926 [inlined]

```

[26] invoke\_in\_world

```
@ .\essentials.jl:923 [inlined]

```

[24] \_\_require(into::Module, mod::Symbol)

```
@ Base .\loading.jl:1823

```

[25] #invoke\_in\_world#3

```
@ .\essentials.jl:926 [inlined]

```

[26] invoke\_in\_world

```
@ .\essentials.jl:923 [inlined]

@ .\essentials.jl:923 [inlined]

```

[27] require(into::Module, mod::Symbol)

```
@ Base .\loading.jl:1816

```

[28] top-level scope

```
@ c:\Users\Ana\.vscode\extensions\julialang.language-julia-1.146.2\scripts\terminalserver\load_vscodeserver.jl:34

```

[29] include(fname::String)

```
@ Base.MainInclude .\client.jl:494

```

[30] top-level scope

```
@ c:\Users\Ana\.vscode\extensions\julialang.language-julia-1.146.2\scripts\terminalserver\terminalserver.jl:6

```

in expression starting at c:\Users\Ana.vscode\extensions\julialang.language-julia-1.146.2\scripts\terminalserver\load\_vscodeserver.jl:1

in expression starting at c:\Users\Ana.vscode\extensions\julialang.language-julia-1.146.2\scripts\terminalserver\terminalserver.jl:2

Any idea what this could be? Thanks in advance!
