问题
file:/C:/Users/Dave/dart/td2/build.dart
build.dart returned error code 255
Unhandled exception:
Uncaught Error: FileSystemException: Cannot open file, path = 'C:\Users\Dave\dart\td2\packages\args\args.dart' (OS Error: The system cannot find the file specified., errno = 2)
Stack Trace:
#0 _File.open.<anonymous closure> (dart:io/file_impl.dart:349)
#1 _RootZone.runUnary (dart:async/zone.dart:1151)
Dart editor was working fine with a polymer app that I was developing previously. I have rebooted, reinstalled dart editor with no luck Running Pub Get manually fails as well as it can't find files either. Evrrything was working prior to trying CDE and the designer.
回答1:
I think running pub cache repair
(run in command line interface) should be able to fix this.
来源:https://stackoverflow.com/questions/26809192/after-running-cde-i-cant-build-sample-polymer-app-in-dart-editor