MikeMitterer / dart-material-design-lite

Material Design Lite Components, Directives + SPA with HTML, CSS + Dart
http://www.material-design-lite.pub/
Other
228 stars 26 forks source link

Build error #30

Closed suhotskiy closed 8 years ago

suhotskiy commented 8 years ago

When i build my project on Ubuntu 14.04.3 LTS i get error:

ERR : Could not find asset mdl|lib/_templates/article/pubspec.yaml. FINE: Exception type: AssetNotFoundException ERR : package:pub/src/barback/pub_package_provider.dart 110 PubPackageProvider._assertExists | package:pub/src/barback/pub_package_provider.dart 104 PubPackageProvider.getAsset. | ===== asynchronous gap =========================== | dart:async _Completer.completeError | package:pub/src/barback/pub_package_provider.dart 109 PubPackageProvider.getAsset. | ===== asynchronous gap =========================== | dart:async Future.Future.microtask | package:pub/src/barback/pub_package_provider.dart PubPackageProvider.getAsset | ===== asynchronous gap =========================== | dart:async Stream.toList | package:barback/src/graph/static_asset_cascade.dart 46 StaticAssetCascade.availableOutputs | package:barback/src/graph/package_graph.dart 178 PackageGraph.getAllAssets. | dart:async Future.wait | package:barback/src/graph/package_graph.dart 177 PackageGraph.getAllAssets | package:barback/src/graph/package_graph.dart 161 PackageGraph.getAllAssets. | dart:async _BroadcastStreamController.add | package:barback/src/graph/package_graph.dart 266 PackageGraph._tryScheduleResult. | package:barback/src/utils.dart 241 newFuture. | ===== asynchronous gap =========================== | dart:async _Future.then | package:barback/src/graph/package_graph.dart 161 PackageGraph.getAllAssets | package:barback/src/graph/package_graph.dart 161 PackageGraph.getAllAssets. | dart:async _BroadcastStreamController.add | package:barback/src/graph/package_graph.dart 266 PackageGraph._tryScheduleResult. | package:barback/src/utils.dart 241 newFuture. | ===== asynchronous gap =========================== | dart:async _Future.then | package:barback/src/graph/package_graph.dart 161 PackageGraph.getAllAssets | package:barback/src/barback.dart 106 Barback.getAllAssets | package:pub/src/command/build.dart 95 BuildCommand.onRunTransformerCommand.... | dart:async _SyncCompleter.complete | package:pub/src/io.dart 868 bindServer. | ===== asynchronous gap =========================== | dart:async _Future.then | package:pub/src/command/build.dart 93 BuildCommand.onRunTransformerCommand... | package:pub/src/log.dart 391 progress | package:pub/src/command/build.dart 87 BuildCommand.onRunTransformerCommand.. | dart:async _SyncCompleter.complete | package:pub/src/barback/asset_environment.dart 83 AssetEnvironment.create.. | dart:async _SyncCompleter.complete | package:pub/src/barback/asset_environment.dart 516 AssetEnvironment._load.. | dart:async _SyncCompleter.complete | package:pub/src/barback/asset_environment.dart 671 AssetEnvironment._withStreamErrors. | dart:async _SyncCompleter.complete | package:pub/src/barback/asset_environment.dart 514 AssetEnvironment._load...... | dart:async _SyncCompleter.complete | package:pub/src/barback/load_all_transformers.dart 117 loadAllTransformers. | dart:async _SyncCompleter.complete | package:pub/src/barback/load_all_transformers.dart 116 loadAllTransformers... | dart:async _SyncCompleter.complete | package:pub/src/barback/transformer_loader.dart 123 TransformerLoader.transformersForPhases. | dart:async _SyncCompleter.complete | package:pub/src/barback/transformer_loader.dart 119 TransformerLoader.transformersForPhases... | dart:async _SyncCompleter.complete | package:pub/src/barback/transformer_loader.dart 69 TransformerLoader.transformersFor. | ===== asynchronous gap =========================== | dart:async _Future.then | package:pub/src/command/build.dart 65 BuildCommand.onRunTransformerCommand. | ===== asynchronous gap =========================== | dart:async Future.Future.microtask | package:pub/src/command/build.dart BuildCommand.onRunTransformerCommand | package:pub/src/command/barback.dart 56 BarbackCommand.run | package:args/command_runner.dart 178 CommandRunner.runCommand. | dart:async Future.Future.sync | package:args/command_runner.dart 131 CommandRunner.runCommand | package:pub/src/command_runner.dart 128 PubCommandRunner.runCommand.. | dart:async Future.Future.sync | package:pub/src/utils.dart 109 captureErrors. | package:stack_trace Chain.capture | package:pub/src/utils.dart 123 captureErrors | package:pub/src/command_runner.dart 128 PubCommandRunner.runCommand. | dart:async _SyncCompleter.complete | package:pub/src/command_runner.dart 214 PubCommandRunner._validatePlatform. ---- End log transcript ----

On Windows build is passed

suhotskiy commented 8 years ago

remove .pub and rebuild, solve this problem