`

[Flutter]Expected a key while parsin: assets

阅读更多

Error on line 40, column 4 of pubspec.yaml: Expected a key while parsing a block mapping.    assets:

 

参考:https://stackoverflow.com/questions/50171766/flutter-pub-expected-a-key-while-parsing-a-block-mapping-path

Spaces are significant in YAML

 

assets is indented too far

Spaces are significant in YAML

 

意思是在配置文件中,使用tab来空格会被识别错误,要使用space空格来分隔

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics