格式化时崩溃 (Dart sdk: '>=2.0.0-dev.65.0 <2.0.0')
Crash when formatting (Dart sdk: '>=2.0.0-dev.65.0 <2.0.0')
我将我电脑上安装的Dart SDK更新到了sdk: '>=2.0.0-dev.65.0 <2.0.0'
版本。当我启动 webdev 服务时,我收到此错误消息:
Crash when formatting: [AsciiControlCharacter] The control character U+001A can only be used in strings and comments.
RangeError (index): Invalid value: Not in range 0..271155, inclusive: 272138
#0 _StringBase.[] [...]
你也是这样吗?我该如何解决?
谢谢!
重新运行 pub global activate webdev
并重试。
我将我电脑上安装的Dart SDK更新到了sdk: '>=2.0.0-dev.65.0 <2.0.0'
版本。当我启动 webdev 服务时,我收到此错误消息:
Crash when formatting: [AsciiControlCharacter] The control character U+001A can only be used in strings and comments.
RangeError (index): Invalid value: Not in range 0..271155, inclusive: 272138
#0 _StringBase.[] [...]
你也是这样吗?我该如何解决?
谢谢!
重新运行 pub global activate webdev
并重试。