ERROR: expected package SlateExtensionsBase [bc31d39e] to exist at path #10

Closed
opened 2026-07-24 09:44:18 -07:00 by pitsianis · 5 comments
pitsianis commented 2026-07-24 09:44:18 -07:00 (Migrated from github.com)
(@v1.12) pkg> status
Status `~/.julia/environments/v1.12/Project.toml`
  [5ee84a8c] KaimonGate v1.1.0
  [5fb14364] OhMyREPL v0.5.32
  [295af30f] Revise v3.16.2

(@v1.12) pkg> app add https://github.com/kahliburke/KaimonSlate.jl
     Cloning git-repo `https://github.com/kahliburke/KaimonSlate.jl`
    Updating git-repo `https://github.com/kahliburke/KaimonSlate.jl`
ERROR: expected package `SlateExtensionsBase [bc31d39e]` to exist at path `/Users/myusername/.julia/environments/apps/KaimonSlate/lib/SlateExtensionsBase`
```julia (@v1.12) pkg> status Status `~/.julia/environments/v1.12/Project.toml` [5ee84a8c] KaimonGate v1.1.0 [5fb14364] OhMyREPL v0.5.32 [295af30f] Revise v3.16.2 (@v1.12) pkg> app add https://github.com/kahliburke/KaimonSlate.jl Cloning git-repo `https://github.com/kahliburke/KaimonSlate.jl` Updating git-repo `https://github.com/kahliburke/KaimonSlate.jl` ERROR: expected package `SlateExtensionsBase [bc31d39e]` to exist at path `/Users/myusername/.julia/environments/apps/KaimonSlate/lib/SlateExtensionsBase` ```
kahliburke commented 2026-07-24 12:40:22 -07:00 (Migrated from github.com)

@pitsianis This is a temporary growing pain as the package is not registered yet which causes some additional complication. Looking at a workaround for this, but you could likely also fix now by using

]app dev https://github.com/kahliburke/KaimonSlate.jl

instead of add. Or by cloning the package. It looks like you may also have to manually run ]instantiate in the resulting directory (~/.julia/dev/KaimonSlate if you used app dev), i.e.

julia --project=~/.julia/dev/KaimonSlate
]app instantiate
@pitsianis This is a temporary growing pain as the package is not registered yet which causes some additional complication. Looking at a workaround for this, but you could likely also fix now by using `]app dev https://github.com/kahliburke/KaimonSlate.jl` instead of add. Or by cloning the package. It looks like you may also have to manually run `]instantiate` in the resulting directory (`~/.julia/dev/KaimonSlate` if you used `app dev`), i.e. ``` julia --project=~/.julia/dev/KaimonSlate ]app instantiate ```
kahliburke commented 2026-07-24 12:53:34 -07:00 (Migrated from github.com)

@pitsianis Unfortunately the Julia Pkg.Apps functionality is not quite what I'd like it to be. It works well for completely registered releases but seems to have some blind spots when it comes to packages not yet registered. We'll be in the registry soon, thanks for patience in the meantime. I'd like to make the installation path as simple as possible, but there are these couple additional steps that need to be taken at the moment. The issue is that while Julia's projects accept a [sources] section which allows pointing at sources (in this case at the subdirectory for SlateExtensionsBase in lib), the Pkg.Apps functionality doesn't seem to utilize or respect it, and there is a difference between Pkg.Apps.add vs Pkg.Apps.develop, in that the add creates a new separate environment, and does not copy the referenced source into that environment, which causes this error.

@pitsianis Unfortunately the Julia Pkg.Apps functionality is not quite what I'd like it to be. It works well for completely registered releases but seems to have some blind spots when it comes to packages not yet registered. We'll be in the registry soon, thanks for patience in the meantime. I'd like to make the installation path as simple as possible, but there are these couple additional steps that need to be taken at the moment. The issue is that while Julia's projects accept a [sources] section which allows pointing at sources (in this case at the subdirectory for `SlateExtensionsBase` in `lib`), the Pkg.Apps functionality doesn't seem to utilize or respect it, and there is a difference between `Pkg.Apps.add` vs `Pkg.Apps.develop`, in that the add creates a new separate environment, and does not copy the referenced source into that environment, which causes this error.
kahliburke commented 2026-07-24 23:30:13 -07:00 (Migrated from github.com)

@pitsianis Is this issue resolved and can we close it?

@pitsianis Is this issue resolved and can we close it?
pitsianis commented 2026-08-03 08:38:47 -07:00 (Migrated from github.com)

Yes app dev worked. Thank you.

Yes app dev worked. Thank you.
kahliburke commented 2026-08-03 17:05:13 -07:00 (Migrated from github.com)

The first half of General registry inclusion is finished, so this will be going away soon.

The first half of General registry inclusion is finished, so this will be going away soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kahliburke/KaimonSlate.jl#10
No description provided.