Why using JLD2 leads to LoadError: too many parameters for type in VS code?

I am working on VS code with julia v1.4.3 extension. When I call the using JLD2, I have the bellow error. However, I dont have this error when using julia from its own environment tool. Any idea how to solve it?

[ Info: Precompiling JLD2 [033835bb-8acc-5ee8-8aae-3f567f8a3819]
ERROR: LoadError: too many parameters for type

when I call using JLD2 again, I got the following error:

ERROR: LoadError: Failed to precompile JLD2 [033835bb-8acc-5ee8-8aae-3f567f8a3819] to C:\Users\amroa\.julia\compiled\v1.6\JLD2\jl_17CC.tmp.

Hi @Amro,

there’s no need to tag everyone here.

Very likely, there is a problem with the different software versions involved.
Can you check the environment that VSCode uses for your packages?


I am sorry if tagging was improper, I just thought it would be easier to reach the professional guys in this matter.
Could you please tell me where can I check the environment?

Inside VSCode, open a REPL and type
] status and paste the output here.

for good measure you can also just try and update the packages with
] up to see if that already solves the issue

1 Like

I have tried ] up and it works properly.
Thank you very much and sorry again for any inconvenience.

1 Like