After running CDE I can't build sample polymer

2019-09-03 15:15发布

问题:

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.



标签: dart dart-pub