Could not find web_components resource | lib / webcomponents.js

I am using the Dart Editor version 1.8.0.release (STABLE) with the Dart SDK version 1.8.0.

When I 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 the error report http://dartbug.com/new . "

Nothing is built into / build. He worked with SDK version 1.7. Does anyone have any useful feedback?

thank!

+4
source share
1 answer

Delete the .pub folder in the root of your project, then run pub get.

I just tried to take this step and it worked for me.

Credit to Gunther for this: https://code.google.com/p/dart/issues/detail?id=21810#c9

+8
source

All Articles