【发布时间】:2018-11-30 23:26:14
【问题描述】:
我刚刚安装了 Dart 版本 2.0.0-dev.64.1,当使用 Dart VM 在 WebStorm 中运行测试时,我收到了错误:
快照与当前 VM 配置不兼容:快照需要 'release no-strong no-type_checks no-asserts no-error_on_bad_type no-error_on_bad_override no-sync_async no-reify_generic_functio' 但 VM 有 'release strong no-type_checks no -asserts no-error_on_bad_type no-error_on_bad_override sync_async reify_generic_functions use_field_guards use_osr x64-win' 隔离创建失败
V2.0.0-dev.63.0 没有这个问题。
有解决此问题的建议吗?
【问题讨论】:
-
我猜你只需要切换到旧的 Dart 版本,然后等到新的版本出来。