According to https://github.com/localstack/localstack-docker-extension/pull/51, you can use the exe to avoid this error.
You can find the instructions for using the exe here.