Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when compiling package:aspectd_impl/aspectd_impl.dart #140

Closed
sunsetroads opened this issue Feb 15, 2022 · 0 comments
Closed

Crash when compiling package:aspectd_impl/aspectd_impl.dart #140

sunsetroads opened this issue Feb 15, 2022 · 0 comments

Comments

@sunsetroads
Copy link

dart: 2.12.2
flutter: stable 2.0.4

error:
Unhandled exception:
Crash when compiling package:aspectd_impl/aspectd_impl.dart,
at character offset null:
Unexpected Kernel Format Version 54 (expected 60) when reading file:///Users/zhangning/Library/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/platform_strong.dill.
#0 BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:616:9)
#1 Timeline.timeSync (dart:developer/timeline.dart:163:22)
#2 BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:603:21)
#3 ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:488:10)
#4 ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:435:13)

#5 generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:82:28)

#6 withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#7 kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:61:29)

#8 kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:60:10)

#9 kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:52:11)

#10 compileToKernel (package:vm/kernel_front_end.dart:348:22)

#11 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:533:17)

#12 starter (file:///Users/zhangning/work/aspectd/lib/src/flutter_frontend_server/server.dart:189:12)

#13 main (file:///Users/zhangning/work/aspectd/lib/src/flutter_frontend_server/starter.dart:13:24)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant