Skip to content

Pub-build fails if PUB_CACHE is in a different drive (windows) #21365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sigmundch opened this issue Oct 20, 2014 · 3 comments
Closed

Pub-build fails if PUB_CACHE is in a different drive (windows) #21365

sigmundch opened this issue Oct 20, 2014 · 3 comments
Assignees

Comments

@sigmundch
Copy link
Member

Here is an example from one of our package bots:

http://chromegw.corp.google.com/i/client.dart.packages/builders/packages-windows-googleapis_auth/builds/62/steps/Pub%20build/logs/stdio

The failure was that the PUB_CACHE was by default on C:, but the package was on E:\

Clearly the packages symlinks from pub-get were broken, but I was expecting pub-serve/pub-build to work regardless.

If it can't be fixed, we should consider providing an error message to help users debug/fix it.

@nex3
Copy link
Member

nex3 commented Oct 20, 2014

Assigning to Bob, since he has a Windows machine on which he can reproduce this.


Set owner to @munificent.

@munificent
Copy link
Member

Unfortunately, symlinks cannot span drives on Windows. Even though pub build and serve don't require the symlinks, they do implicitly run pub get first, which does create them.

We can't change the behavior here, but I agree a better error message would help.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#1174.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants