/bin/bash: composer: command not found

Since today (15.02.2017) my CircleCI builds started to fail. Yesterday (14.02.2017) it was ok.
Here is my circle.yml (which I have not changed since long time):

    general:
  build_dir: frontend
  branches:
    only:
      - frontend/develop

machine:
  environment:
    PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
  node:
    version: 8.0.0

dependencies:
  override:
    - yarn
  cache_directories:
    - ~/.cache/yarn

compile:
  override:
    - echo "build on heroku"

test:
  override:
    - yarn test

deployment:
  dev:
    branch: frontend/develop
    commands:
      - |
        cat >~/.netrc <<EOF
        machine api.heroku.com
          login $HEROKU_EMAIL
          password $HEROKU_TOKEN
        machine git.heroku.com
          login $HEROKU_EMAIL
          password $HEROKU_TOKEN
        EOF
      - chmod 600 ~/.netrc # Heroku cli complains about permissions without this
      - cd .. && git push git@heroku.com:my-project.git `git subtree split --prefix frontend`:master --force

I am getting following error during the build.

CircleCI

What’s going on? I am NOT using composer, it seems that builds fail at startup of build process…

I don’t recognise that YAML format, is that Circle 1.0? I’ve just re-run one of my 2.0 builds, and it was fine - I wonder if it’s a 1.0 problem.

Hmm, I am not sure how to check if it’s 1.0 or 2.0? I think I started using circleCi before 2.0 was released and I did not change anything to 2.0…

Sounds like 1.0 to me, all my 2.0 config file start with version: 2. I’d report it as a bug, or wait for a CircleCI employee to respond here.

1 Like