Skip to content

Pub does't work on Windows 8 when app is on different drive than Pub cache #880

@DartBot

Description

@DartBot

Originally opened as dart-lang/sdk#17050

This issue was originally filed by emurph...@conceptuamath.com


What steps will reproduce the problem?

  1. Install Dart on E:
  2. Open a project on E: (probably would also work on C:)
  3. Try to Pub get. Get this error message:

--- 3:10:20 PM Running pub get ... ---
Pub get failed, [1] Resolving dependencies.............................
Cannot create link, path = 'E:\projects\dart\ng-darrrt-codelab-master\packages\angular' (OS Error: Incorrect function.
, errno = 1)

Note that Pub Build will also fail, but with a different message, because it cant create lock file.

What is the expected output? What do you see instead?
Expect no error. If there is an error, I expect it to be clear, so tell me that Dart IDE and Pub cache must be on the same drive (letter) on windows.

What version of the product are you using? On what operating system? Dart Beta channel,
Dart Editor version 1.2.0.dev_05_12 (DEV)
Dart SDK version 1.2.0-dev.5.12
On Windows 8.1

Please provide any additional information below.
Seems that Pub cannot create a symbolic link across different drives on Windows 8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-duplicateClosed in favor of an existing reporttype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions