I’m trying to develop a new custom integration and have been following the recipe in Quickstart Guide — Home Assistant Custom Component Cookiecutter documentation. After I launched VSCode and opted to re-open in a development container, I got this:
[4252 ms] Start: Run in container: /bin/sh -c container install
Collecting git+git://github.com/home-assistant/home-assistant.git@dev
Cloning git://github.com/home-assistant/home-assistant.git (to revision dev) to /tmp/pip-req-build-_hs7nzu8
ERROR: Command errored out with exit status 128: git clone -q git://github.com/home-assistant/home-assistant.git /tmp/pip-req-build-_hs7nzu8 Check the logs for full command output.
WARNING: You are using pip version 20.2.4; however, version 24.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
What's next:
Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug 0d5079af27340d96acf073668795099bb6d3a4851ba9455aeaa4e66bfb712959
Learn more at https://docs.docker.com/go/debug-cli/
[82465 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.
It looks like it is failing to clone home-assistant, but unfortunately the log file doesn’t sick around long enough for me to look in it. A quick search doesn’t;t reveal any other instances of this occurring, so I’m stumped.