ERROR: yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot

fabric部署时报错:

ERROR: yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
  in "./docker-peer01.yaml", line 74, column 1

如图:

我这里的原因是docker-peer01.yaml中最前面用了tab,改成空格就好了。对yaml文件格式要求严格。(如图标红的地方原来为tab,改为空格就好了。)

ERROR: yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot_第1张图片

你可能感兴趣的:(ERROR: yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot)