Traceback (most recent call last):


 "/usr/bin/docker-compose", line 11, in <module>

load_entry_point('docker-compose==1.9.0', 'console_scripts', 'docker-compose')()


 "/usr/lib/python3.5/site-packages/compose/cli/main.py", line 65, in main

command()


 "/usr/lib/python3.5/site-packages/compose/cli/main.py", line 114, in perform_command

project = project_from_options('.', options)


 "/usr/lib/python3.5/site-packages/compose/cli/command.py", line 36, in project_from_options

environment=environment


 "/usr/lib/python3.5/site-packages/compose/cli/command.py", line 103, in get_project

config_data = config.load(config_details)


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 323, in load

service_dicts = load_services(config_details, main_file)


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 414, in load_services

service_config = merge_services(service_config, next_config)


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 405, in merge_services

for name in all_service_names


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 405, in <dictcomp>

for name in all_service_names


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 704, in merge_service_dicts_from_files

new_service = merge_service_dicts(base, override, version)


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 769, in merge_service_dicts

md.merge_field(field, merge_unique_items_lists, default=[])


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 728, in merge_field

self.override.get(field, default))


 "/usr/lib/python3.5/site-packages/compose/config/config.py", line 788, in merge_unique_items_lists

return sorted(set().union(base, override))
TypeError: unorderable types: int() < str()

Traceback (most recent call last):


 "/usr/local/bin/sam", line 8, in <module>

sys.exit(cli())


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 782, in main

rv = self.invoke(ctx)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 1259, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 1259, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 1066, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/decorators.py", line 73, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/lib/telemetry/metric.py", line 152, in wrapped

raise exception
# pylint: disable=raising-bad-type


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/lib/telemetry/metric.py", line 121, in wrapped

return_value = func(*args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/lib/utils/version_checker.py", line 42, in wrapped

actual_result = func(*args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/cli/main.py", line 90, in wrapper

return func(*args, **kwargs)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/commands/local/invoke/cli.py", line 81, in cli

do_cli(


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/commands/local/invoke/cli.py", line 167, in do_cli

context.local_lambda_runner.invoke(


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/commands/local/lib/local_lambda.py", line 120, in invoke

config = self.get_invoke_config(function)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/commands/local/lib/local_lambda.py", line 163, in get_invoke_config

code_abs_path = resolve_code_path(self.cwd, function.codeuri)


 "/usr/local/Cellar/aws-sam-cli/1.21.1/libexec/lib/python3.8/site-packages/samcli/lib/utils/codeuri.py", line 43, in resolve_code_path

if not os.path.isabs(codeuri):


 "/usr/local/Cellar/python@3.8/3.8.8_1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/posixpath.py", line 62, in isabs

s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType
