我将计算机上安装的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.[] [...]
这是否也在您身上发生?我该怎么解决?
谢谢!
答案 0 :(得分:2)
重新运行pub global activate webdev
,然后重试。