Skip to content

[Bug]: Cannot install runtimes if dtvem is on non-system drive #278

Closed

Description

@shoaibshakeel381

Description

cannot install any runtime when dtvem is placed in non-system disk drive

Steps to Reproduce

1.My windows is installed on C drive. But i wanted to keep dtvem on H drive.
2.init worked fine and I can invoke dtvem from anywhere.
3. But when I try to install any runtime, files are first download to user temp directory and then everything fails

Expected Behavior

runtime installation on non-system drives works as expected

Actual Behavior

I get this when installing node

$ dtvem install node 24.22.0
Installing Node.js v24.22.0...
  → Downloading from https://builds.dtvem.io/node/24.22.0/windows-amd64.zip
Downloading 100% |████████████████████████████████████████████████████████████████████████████████████████████████████████████| (38/38 MB, 33 MB/s)

✓ Extraction complete
✗ failed to move to install location: rename C:\Users\user\AppData\Local\Temp\dtvem-node-24.22.0\extracted H:\SDKs\dtven\versions\node\24.22.0: The system cannot move the file to a different disk drive.

Operating System

Windows

dtvem Version

0.6.2

Go Version (if building from source)

No response

Which runtime is affected?

Multiple runtimes

Error Messages / Logs

Configuration

Additional Context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. changed the title [-][Bug]: Cannot install runtimes if dtvem is on non-system drvie[/-] [+][Bug]: Cannot install runtimes if dtvem is on non-system drive[/+] on Oct 16, 2026
  2. CalvinAllen commented on Oct 17, 2026

    @CalvinAllen
    Contributor

    @shoaibshakeel381 thanks for the report, I’ll look into it.

  3. CalvinAllen commented on Oct 17, 2026

    @CalvinAllen
    Contributor

    @shoaibshakeel381 this is fixed on main in 83a3ecf (merged via #280).

    The cause: installs downloaded and extracted into your system temp folder on C: and then renamed the result into versions\ on H:. Windows can't rename a folder across drives. dtvem now stages each install in a tmp folder inside the dtvem root, which is always on the same drive as versions\, so the final move stays on one drive.

    Once the next release is out, could you try dtvem install node 24.22.0 again with dtvem on H: and confirm it works? If it still fails, reopen this issue with the error and I'll take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions