Dart:"无效的参数:路径中的非法字符"在Windows上构建时

S. *_* J. 4 dart dart-pub dart-html

我的index.html文件中的违规行读取

<script src="main.dart" type="application/dart"></script>
Run Code Online (Sandbox Code Playgroud)

错误报告是:

Build error:
Transform polymer (PolymerBootstrapTransformer) on myproj_frontend|web/index.html threw error: Invalid argument(s): Illegal character in path
dart:core/uri.dart 855                               Uri._checkWindowsPathReservedCharacters
dart:core/uri.dart 956                               Uri._makeWindowsFileUrl
Run Code Online (Sandbox Code Playgroud)

项目的整个路径是

D:\Projects\MyProj\MyProj_Project

我正在使用Dart VM版本:1.16.0在Windows 7上从命令行构建

老实说,我不知道如何继续诊断或解决这个问题. 任何帮助将不胜感激.

Fox*_*x32 5

我也有同样的问题.看起来这是analyzer0.27.0和以后的问题.

我在牵制版本解决它pubspec.yaml<0.27.0.