Null check operator used on a null value
kulame opened this issue · 1 comments
kulame commented
PS C:\code\getx\rem> get create page:set-act
Can't load Kernel binary: Invalid SDK hash.
✓ 文件: set_act_controller.dart 创建成功,路径: lib\app\modules\set-act\\controllers\\set_act_controller.dart
✓ 文件: set_act_view.dart 创建成功,路径: lib\app\modules\set-act\\views\\set_act_view.dart
✓ 文件: set_act_binding.dart 创建成功,路径: lib\app\modules\set-act\\bindings\\set_act_binding.dart
✓ set-act route 创建成功.
✓ SetAct page 创建成功.
✖ + HandshakeException: Connection terminated during handshake
Unhandled exception:
Null check operator used on a null value
#0 checkForUpdate.<anonymous closure>.<anonymous closure> (package:get_cli/functions/version/version_update.dart:23:51)
<asynchronous suspension>
#1 checkForUpdate.<anonymous closure> (package:get_cli/functions/version/version_update.dart:19:9)
<asynchronous suspension>
#2 checkForUpdate (package:get_cli/functions/version/version_update.dart:17:7)
<asynchronous suspension>
#3 main (file:///C:/src/flutter/bin/cache/hosted/pub.flutter-io.cn/get_cli-1.8.4/bin/get.dart:18:9)
<asynchronous suspension>
PS C:\code\getx\rem> get --version
Can't load Kernel binary: Invalid SDK hash.
[--version] 是多余的
░██████╗░███████╗████████╗ ░█████╗░██╗░░░░░░██╗
██╔════╝░██╔════╝╚══██╔══╝ ██╔══██╗██║░░░░░░██║
██║░░██╗░█████╗░░░░░██║░░░ ██║░░╚═╝██║░░░░░░██║
██║░░╚██╗██╔══╝░░░░░██║░░░ ██║░░██╗██║░░░░░░██║
╚██████╔╝███████╗░░░██║░░░ ╚█████╔╝███████╗ ██║
░╚═════╝░╚══════╝░░░╚═╝░░░ ░╚════╝░╚══════╝ ╚═╝
Version: 1.8.4
PS C:\code\getx\rem> flutter --version
Flutter 3.14.0-0.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 120d54d33a (2 weeks ago) • 2023-08-17 14:10:34 -0500
Engine • revision f613b67824
Tools • Dart 3.2.0 (build 3.2.0-42.1.beta) • DevTools 2.26.1
Is there any problem here? 🤔
xyhuangjia commented