By default the compose up command runs the command
docker-compose -f "docker-compose.yml" up -d --build
But when a command customization is provided with no match, it suppose to use the default command same as above. But it runs the below command (note the location of up) which is not valid.
docker-compose up -f "docker-compose.yml" -d --build