Skip to content

ERROR: can not merge projects when sub-project.toml references parent project #99

@haakon-e

Description

@haakon-e

I just came across this error for the first time:

julia> TestEnv.activate()
ERROR: can not merge projects
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types ~/.julia/juliaup/julia-1.11.6+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68
 [2] activate(pkg::String; allow_reresolve::Bool)
   @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:44
 [3] activate
   @ ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:9 [inlined]
 [4] activate()
   @ TestEnv ~/.julia/packages/TestEnv/nGMfF/src/julia-1.11/activate_set.jl:9
 [5] top-level scope
   @ REPL[3]:1
 [6] top-level scope
   @ none:1

I don't find it particularly helpful to understand what's going on. Any advice for how to go about debugging this? Is there a way to get a verbose version of this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions