找不到资产聚合物| lib / default_build.dart

时间:2014-10-13 18:02:58

标签: dart dart-polymer dart-pub

我将Dart升级为Dart 1.7_dev4.5

我的应用程序不再运行,现在我有以下堆栈恍惚

Could not find asset polymer|lib/default_build.dart.
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib\_internal\pub_generated\lib\src\log.dart 183       
exception e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib\_internal\pub_generated\lib\src\entrypoint.dart 75  Entrypoint.acquireDependencies.<fn>.<fn>.join0.join1.join2.<fn>.join3.<fn>.<fn>
dart:isolate   _RawReceivePortImpl._handleMessage

我的build.dart是:

export 'package:polymer/default_build.dart';

default_build.dart不再相关吗?

1 个答案:

答案 0 :(得分:0)

你的构建文件应该没问题。 尝试杀死pub serve然后重试。如果这没有帮助,请尝试pub cache repair