Skip to content

Cut & Paste '~\.julia\dev' folder to a Windows MyDocuments folder #40374

@johntrinder

Description

@johntrinder

I have cut&pasted the '~.julia\dev' folder on the C: drive into Windows10 'MyDocuments' so that I can perform a daily synchronized backup of any changes.
To accommodate this I added the following line to my 'startup.jl' file:
pushfirst!(DEPOT_PATH, "D:\My Documents\JULIA\LIBRARY")

Now, when I create a package using (@v1.5) pkg> dev .
I get the following error report:

[ Info: Resolving package identifier . as a directory at D:\My Documents\JULIA\LIBRARY\dev\MyExtraTwo\.
Path . exists and looks like the correct package. Using existing path.
Resolving package versions...
ERROR: expected package MyExtraTwo [4fbb7824] to exist at path C:\D:\My Documents\JULIA\LIBRARY\dev\MyExtraTwo

As can be seen 'C:' is prepended to the '~\dev\MyExtraTwo' path; so presumably this is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions