Skip to content

Commit

Permalink
Incorporate suggested language changes
Browse files Browse the repository at this point in the history
  • Loading branch information
agittins committed Aug 26, 2024
1 parent a42d31b commit 4f322a9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/development_environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ In the future, if you want to get back to your development environment: open Vis

**Troubleshooting**

- If your container fails to build due to possibly out-dated dependencies or if you've previously built the devcontainer, it's possible that the devcontainer is trying to build with a stale fork of your repo. Some steps that may help are:
- Ensure your github fork you used in Step 2 above is up to date with the main Home Assistant core repository
- Clean your local docker build files with the terminal command `docker buildx prune`
- If your container fails to build due to outdated dependencies or a previously built devcontainer, it might be using a stale fork of your repository. Follow these steps:
- Ensure your GitHub fork is up-to-date with the main Home Assistant core repository.
- Clean local Docker build files by running `docker buildx prune` in the terminal.
- If the build still fails:
- choose "Open configuration in recovery devcontainer"
- open a terminal (if one is not already open)
- run the command `git pull upstream dev` and ensure it succeeds in applying the current version
- Open the command palette in Visual Studio Code - `Shift`+`Command`+`P`(Mac) / `Ctrl`+`Shift`+`P` (Windows/Linux).
- Select (or search for) "Dev Containers: Rebuild Container"
- Select "Open configuration in recovery devcontainer."
- Open a terminal (if not already open).
- Run `git pull upstream dev` and ensure it applies the current version.
- Open the command palette in Visual Studio Code - `Shift`+`Command`+`P` (Mac) / `Ctrl`+`Shift`+`P` (Windows/Linux).
- Select "Dev Containers: Rebuild Container."

### Tasks

Expand Down

0 comments on commit 4f322a9

Please sign in to comment.