我的 index.html 文件中的违规行如下:
<script src="main.dart" type="application/dart"></script>
错误报告是:
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
项目的整个路径是
D:\Projects\MyProj\MyProj_Project
我正在 Windows 7 上使用 Dart VM 版本从命令行进行构建:1.16.0
老实说,我不知道如何继续诊断或解决这个问题。Any帮助将不胜感激。
我也有同样的问题。看起来这是一个问题analyzer
包裹0.27.0
然后。
我通过固定版本解决了这个问题pubspec.yaml
to <0.27.0
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)