几周前 Flutter 工作得很好,但它似乎在我的系统上坏了。我清理了现有的安装并重新克隆并安装了颤振,但它似乎因以下问题而失败:
Akshays-MacBook-Pro-2:~ akshaydashrath$ flutter doctor
Downloading Dart SDK 1.21.0...
#################################################################100.0%
Building flutter tool...
vm-service: Error: Unhandled exception:
Unsupported operation: Cannot extract a non-Windows file path from a
file URI with an authority
#0 _SimpleUri._toFilePath (dart:core/uri.dart:4423)
#1 _SimpleUri.toFilePath (dart:core/uri.dart:4417)
#2 _loadFile (loader.dart:407:26)
#3 _handleResourceRequest (loader.dart:510:5)
#4 _processLoadRequest (loader.dart:941:7)
#5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)
我最近将 MacOS 更新到 10.12.2,除此之外我无法识别我所做的任何其他可能影响系统的更改。