I am using Dart Editor version 1.8.0.release (STABLE) with Dart SDK version 1.8.0.
When I do a build dart2js I get the error: "/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub_generated/lib/src/barback/pub_package_provider.dart 87 PubPackageProvider._assertExists /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub_generated/lib/src/barback/pub_package_provider.dart 41 getAsset..join0.join1 /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub_generated/lib/src/barback/pub_package_provider.dart 52 getAsset..join0 /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub_generated/lib/src/barback/pub_package_provider.dart 76 getAsset. dart:isolate _RawReceivePortImpl._handleMessage This is an unexpected error. Please run
pub --trace 'build' '--mode' 'debug' '--all'
and include the results in a bug report on http://dartbug.com/new."
Nothing is built into /build. It was working with SDK version 1.7. Anyone have some helpful feedback?
thanks!
Delete the .pub folder in the root of your project, then run pub get.
I just tried doing this step and it worked for me.
Credit to Günter for finding this: https://code.google.com/p/dart/issues/detail?id=21810#c9
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With