Skip to content

The system cannot move the file to a different disk drive #580

@kofalt

Description

@kofalt

On Windows, glide can only be used on the same disk drive that the default cache directory is located:

# glide install

[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Found desired version locally ...
[INFO]  Setting references.
[INFO]  --> Setting version for ...
[INFO]  Exporting resolved dependencies...
[INFO]  --> Exporting ...
[INFO]  Replacing existing vendor dependencies
[ERROR] Unable to export dependencies to vendor directory: rename C:\Users\MyUser\AppData\Local\Temp\glide-vendor439134107\vendor E:\workspace\src\...\vendor: The system cannot move the file to a different disk drive.

Workaround: create a folder outside your GoPath, but on the same disk, and pass that folder to glide via glide --tmp [folder].

Environment: Windows 7 32-bit (MinGW bash shell), Go 1.7, Glide v0.12.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions