Docker Error: 'type' is a required property

I am trying to setup using docker, but getting this error:

The Compose file './docker-compose.yml' is invalid because:
services.farmer.volumes 'type' is a required property
services.node.volumes 'type' is a required property

This is a misconfiguration within your docker-compose.yml you can attempt to refer to this superuser post for help bash - "volumes 'type' is a required property" when running docker-compose - Super User