【发布时间】:2023-02-22 05:23:56
【问题描述】:
我正在尝试根据页面 https://pub.dev/packages/repl 为 Dart 安装 repl
在dart pub global activate repl 之后我收到以下错误信息:
$ drepl
The Dart VM service is listening on http://127.0.0.1:8181/V3ekGjDx3nQ=/
The Dart DevTools debugger and profiler is available at: http://127.0.0.1:8181/V3ekGjDx3nQ=/devtools/#/?uri=ws%3A%2F%2F127.0.0.1%3A8181%2FV3ekGjDx3nQ%3D%2Fws
2.18.7 (stable) (Thu Jan 12 10:44:08 2023 +0000) on "macos_x64"
Type `exit()` or Ctrl-d to quit.
Unhandled exception:
Instance of 'InvalidPathResult'
#0 repl (package:repl/repl.dart:36:5)
<asynchronous suspension>
#1 wrappedMain (file:///Users/gefei/.pub-cache/hosted/pub.dartlang.org/repl-0.1.0+2/bin/main.dart:18:3)
<asynchronous suspension>
怎么了?
【问题讨论】: