Closed TNorbury closed 3 years ago
Hi @TNorbury! Thanks for the report. I don't have a Windows machine to try this out on, but I think this may fix it: https://github.com/Workiva/dependency_validator/pull/69
Would you be able to give that branch a try?
@evanweible-wf Tried out that branch and got this error messsage instead:
Unhandled exception: FileSystemException: Exists failed, path = '/D:/tools/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.0/bin' (OS Error: The filename, directory name, or volume label syntax is incorrect. , errno = 123)
0 _Directory.existsSync (dart:io/directory_impl.dart:94:7)
1 run (package:dependency_validator/dependency_validator.dart:281:16)
#2 main (file:///D:/tools/flutter/.pub-cache/git/dependency_validator-327ffc6c75f7edd7efe7c1dcb643271ce09bdadd/bin/dependency_validator.dart:79:9) #3 _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32) #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Hey @evanweible-wf, I found the other place that needed to be changed and submitted a PR to your branch with the relevant change
Thanks again for the help @TNorbury! That fix should be published as 2.0.1 now.
I updated to version 2.0.0 and I'm running into an error where the path to the build config is unable to be found. I get the following error message:
At first glance it looks like an additional drive label is being appended, however, I printed out the
pubspec
variable inside of _fromPackageDir and that returned/D:/tools/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.0/pubspec.yaml
. So perhaps it's just windows paths being formatted incorrectly. I tested this out on my mac and everything works fine.Flutter Doctor