dev
and add
do different things. See this answer in a recent thread (the original question was different, but may give you another perspective to understand what is happening):
A more detailed explanation of the main pkg commands here:
https://julialang.github.io/Pkg.jl/v1/managing-packages/
For your particular case, if the dev’ed version of ’ MyPackagelives in
.julia/dev`, maybe it’s still finding that it is there, and there might be a conflict due to the lowercase/camelcase names, but I’m not sure.
You can try to check if that’s what is happening: if the package is in .julia/dev
, move it to another place (e.g. outside .julia
), and try add
again. Let’ see what happens.