Pkg.jl icon indicating copy to clipboard operation
Pkg.jl copied to clipboard

`resolve` complains if a dependency is not instantiated

Open staticfloat opened this issue 2 years ago • 1 comments

Recently, I have noticed that on builds of Julia master, I am getting errors such as the following:

pkg> resolve

Expected package Foo to exist at path ...

It was my understanding that resolve should not really care about whether packages are instantiated or not (indeed, instantiate recommends running resolve first if the project requirements have changed). I thought resolve should only read in the project, the registry, and then write out a new manifest?

staticfloat avatar Jun 13 '23 20:06 staticfloat

Just ran into this again, it's especially annoying when trying to free something or similar, and it fails because you haven't instantiated.

staticfloat avatar Dec 19 '23 18:12 staticfloat