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,改为空格就好了。)

猜你喜欢

转载自blog.csdn.net/tianshuhao521/article/details/84592114