I get this error when I try to run Julia REPL in VS Code (Windows 10):
ERROR: LoadError: IOError: mkdir: invalid argument (EINVAL)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] mkdir(::String; mode::UInt16) at .\file.jl:177
[3] mkpath(::String; mode::UInt16) at .\file.jl:227
[4] mkpath(::String; mode::UInt16) at .\file.jl:225 (repeats 8 times)
[5] mkpath at .\file.jl:222 [inlined]
[6] compilecache_path(::Base.PkgId) at .\loading.jl:1228
[7] compilecache(::Base.PkgId, ::String) at .\loading.jl:1258
[8] _require(::Base.PkgId) at .\loading.jl:1030
[9] require(::Base.PkgId) at .\loading.jl:928
[10] require(::Module, ::Symbol) at .\loading.jl:923
[11] include(::Function, ::Module, ::String) at .\Base.jl:380
[12] include(::Module, ::String) at .\Base.jl:368
[13] exec_options(::Base.JLOptions) at .\client.jl:296
[14] _start() at .\client.jl:506
in expression starting at c:\Users\PKrysl\Documents\work\Portable_Julia\VSCode-win32-x64-1.48.1\data\extensions\julialang.language-julia-1.0.4\scripts\terminalserver\terminalserver.jl:5
MethodError: objects of type Bool are not callable
The line 5 in the terminalserver is using VSCodeServer
.
I print out LOAD_PATH:
["@", "@v#.#", "@stdlib", "c:\\Users\\PKrysl\\Documents\\work\\Portable_Julia\\VSCode-win32-x64-1.48.1\\data\\extensions\\julialang.language-julia-1.0.4\\scripts\\terminalserver\\..\\packages"]
Does it strike you as wrong?
PS: I guess it is not the path: the same path works fine when VS Code is started from the Powershell
via git bash.