After running CDE I can't build sample polymer app in dart editor

左心房为你撑大大i 提交于 2019-12-25 14:07:50

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!