Using the very latest Dart/Flutter, I'm getting the below when I try to build my web project. I looked at the issue it refers me to (38102) and don't see a solution there. As I found with the discussion there, `flutter doctor` did not help.
Do I just have to wait for this to get fixed, or is there some hack to get my project to compile?
Building application for the web...
AssetNotFoundException: meta|lib/meta.ddc.dill
Error creating provider|lib/provider.ddc.dill
Error creating kernel summary for module:provider|lib/provider.ddc.dill
Response:--dart-sdk-summary=file:///Users/gisborne/dev/bin/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --output=/private/var/folders/6f/g8mlsykn1vg85svt2149pzpr0000gp/T/scratch_spacePJN99D/packages/provider/provider.ddc.dill --packages-file=file:///var/folders/6f/g8mlsykn1vg85svt2149pzpr0000gp/T/kernel_builder_RrNtDc/.packages --multi-root-scheme=org-dartlang-app --exclude-non-sources --summary-only --target=ddc --libraries-file=file:///Users/gisborne/dev/bin/flutter/bin/cache/flutter_web_sdk/libraries.json --reuse-compiler-result --use-incremental-compiler --used-inputs=/var/folders/6f/g8mlsykn1vg85svt2149pzpr0000gp/T/kernel_builder_Xy4Glb/used_inputs.txt --source=package:provider/src/deferred_inherited_provider.dart --source=package:provider/provider.dart --source=package:provider/src/value_listenable_provider.dart --source=package:provider/src/consumer.dart --source=package:provider/src/selector.dart --source=package:provider/src/provider.dart --source=package:provider/src/async_provider.dart --source=package:provider/src/change_notifier_provider.dart --source=package:provider/src/proxy_provider.dart --source=package:provider/src/listenable_provider.dart --source=package:provider/src/inherited_provider.dart
NoSuchMethodError: The getter 'libraries' was called on null.
Receiver: null
Tried calling: libraries
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 initializeIncrementalCompiler (package:front_end/src/api_unstable/modular_incremental_compilation.dart:107:54)
<asynchronous suspension>
#2 initializeIncrementalCompiler (package:front_end/src/api_unstable/bazel_worker.dart:80:10)
#3 computeKernel (file:///b/s/w/ir/cache/builder/src/third_party/dart/utils/bazel/kernel_worker.dart:276:19)
#4 KernelWorker.performRequest (file:///b/s/w/ir/cache/builder/src/third_party/dart/utils/bazel/kernel_worker.dart:69:26)
#5 AsyncWorkerLoop.run.<anonymous closure> (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
#6 _rootRun (dart:async/zone.dart:1126:13)
#7 _CustomZone.run (dart:async/zone.dart:1023:19)
#8 _runZoned (dart:async/zone.dart:1518:10)
#9 runZoned (dart:async/zone.dart:1465:12)
#10 AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)
<asynchronous suspension>
#11 main (file:///b/s/w/ir/cache/builder/src/third_party/dart/utils/bazel/kernel_worker.dart:38:48)
#12 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#13 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
Failed to initialize incremental compiler, throwing away old state.
This is likely a result of https://github.com/dart-lang/sdk/issues/38102, if
you are consistently seeing this problem please see that issue.
The specific exception that was encountered was:
NoSuchMethodError: The getter 'libraries' was called on null.
Receiver: null
Tried calling: libraries
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 initializeIncrementalCompiler (package:front_end/src/api_unstable/modular_incremental_compilation.dart:107:54)
<asynchronous suspension>
#2 initializeIncrementalCompiler (package:front_end/src/api_unstable/bazel_worker.dart:80:10)
#3 computeKernel (file:///b/s/w/ir/cache/builder/src/third_party/dart/utils/bazel/kernel_worker.dart:276:19)
#4 KernelWorker.performRequest (file:///b/s/w/ir/cache/builder/src/third_party/dart/utils/bazel/kernel_worker.dart:69:26)
#5 AsyncWorkerLoop.run.<anonymous closure> (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
#6 _rootRun (dart:async/zone.dart:1126:13)
#7 _CustomZone.run (dart:async/zone.dart:1023:19)
#8 _runZoned (dart:async/zone.dart:1518:10)
#9 runZoned (dart:async/zone.dart:1465:12)
#10 AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)
<asynchronous suspension>
#11 main (file:///b/s/w/ir/cache/builder/src/third_party/dart/utils/bazel/kernel_worker.dart:38:48)
#12 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#13 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12) /Users/gisborne/dev/bin/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel master, v1.13.10-pre.67, on Mac OS X 10.15.2 19C57, locale en-US)
• Flutter version 1.13.10-pre.67 at /Users/gisborne/dev/bin/flutter
• Framework revision 1be332eb8b (10 hours ago), 2020-01-15 08:43:03 -0800
• Engine revision bc41ab5139
• Dart version 2.8.0 (build 2.8.0-dev.1.0 fe666ce592)