'encountering this error on circle ci: Unable to parse YAML # mapping values are not allowed here # in 'string', line 3, column 5

Here's my code

version: 2.1

orbs:
  flutter: circleci/[email protected]

jobs:
  build:
    working_directory: ~/project
    docker:
      - image: "cirrusci/flutter"
    steps:
      - checkout
      - run: flutter main.dart
  test:
    working_directory: ~/project
    docker:
      - image: "cirrusci/flutter"
    steps:
      - checkout
      - run: flutter widget_test.dart
workflows:
  build_and_test:
    jobs:
      - build
      - test:
          requires:
            - build

I got this error from the CircleCI:

Unable to parse YAML # mapping values are not allowed here # in 'string', line 3, column 5



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source