-
Notifications
You must be signed in to change notification settings - Fork 218
Can't run 'pub run test' after upgrading to 0.12.3 #133
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
Comments
To me this looks more like a file system or pub cache problem. Have you tried |
@zoechi per your suggestion, I tried |
1eb9d79 The pub.bat on SDK refers to 'dart.exe' just as 'dart', and Platform.executable seems to report ...\bin\dart. Since there is no just 'dart' file on Windows (it's dart.exe), the resolveSymlinksSync fails with 'no such file' error. |
@dynaxis that looks ugly – will investigate on our side. |
It looks like symbolic link resolution is failing on Windows. This may be a |
@nex3 Sorry for the messed up error message. Due to some problem in my console setting, it is unreadable to me, too. But according to my test code trying to invoke resolveSymboliclinksSync on non-existing file (that is, As I stated in my last comment, the cause is rather obvious. I hope the canonical way of getting the SDK directory is sorted out soon. |
I'm not able to reproduce this on 1.11.0-dev.3.0 Perhaps this was fixed recently... |
@kevmoo I tried 1.11.0.-dev3.0 this time. And I'll upgrade to the recent dev channel version of SDK for the time being. |
The following commit on |
@kevmoo We should add a workaround for this so we can continue to support older versions of the SDK. |
I see this error too (Win7 x64). I tried running tests after On Edit: Note that as a workaround copying dart.exe to dart (with no extension) in the dart-sdk bin folder allows tests to run again. |
The test runner doesn't (and never will) work with
Certainly not. You can fix this right now by adding an upper bound to your |
@nex3 The changelog says this fix was released in 0.12.3+1, but that version has not yet been published to pub.dartlang.org. |
Good catch! Tagged and published. |
I get the error shown in the end of this report, when I run 'pub run test' after upgrading to 0.12.3.
It seems that it works fine in 0.12.2. I'm running Windows 8.1 on a x64 machine.
The text was updated successfully, but these errors were encountered: