Issues with package management

Still learning Julia…

I think I messed up the package repository on my machine and I’m at a loss on how to fix it.

I attempted to install a package from github:

(@v1.3) pkg> add https://github.com/tkf/ThreadsX.jl
    Cloning git-repo `https://github.com/tkf/ThreadsX.jl`
   Updating git-repo `https://github.com/tkf/ThreadsX.jl`
   Updating registry at `C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\registries\JuliaPro`
ERROR: SystemError (with C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\registries\JuliaPro\O): rmdir: Directory not empty

That seemed bad.

Now when I attempt to install a package I get:

julia> Pkg.add("RCall")
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package JSON3 [0f8b85d8]:
 JSON3 [0f8b85d8] log:
 ├─JSON3 [0f8b85d8] has no known versions!
 └─restricted to versions * by an explicit requirement — no versions left

Tried an update() hoping that would automagically fix things:

julia> Pkg.update()
   Updating git-repo `C:\Users\dpazzula\Documents\julia_test\PCF`
ERROR: Unsatisfiable requirements detected for package JSON3 [0f8b85d8]:
 JSON3 [0f8b85d8] log:
 ├─JSON3 [0f8b85d8] has no known versions!
 └─restricted to versions * by an explicit requirement — no versions left

I removed JSON3 and then tried adding it again:

julia> Pkg.rm("JSON3")
   Updating `C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\environments\v1.3\Project.toml`
   0f8b85d8 - JSON3 v1.0.3
   Updating `C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\environments\v1.3\Manifest.toml`
   Updating empty diff

julia> Pkg.add("JSON3")
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package JSON3 [0f8b85d8]:
 JSON3 [0f8b85d8] log:
 ├─JSON3 [0f8b85d8] has no known versions!
 └─restricted to versions * by an explicit requirement — no versions left

Which is bad as I have a code that requires it…

What did I do wrong and what do I need to do to fix it (other than reinstall Julia, which is what I hope to avoid, but will do if needed)?