Struggling to set up a dev environment #16249
Replies: 2 comments 8 replies
-
This is a long story...
This will allow you to map your local folder
This step is needed to "tell" HA to use your local frontend instead of the build in one (please notice that I use folder This works for me, I might missed some steps, so if you find some please let me know. Ideally, we should be able to use local frontend with a running HA. I'd like to be able to specify where the home assistant is (IP) and frontend would use that home assistant during development, but I don't know if this is possible. |
Beta Was this translation helpful? Give feedback.
-
I also have an issue with setting up the dev environment. When running the last script from the frontend dev manual (https://developers.home-assistant.io/docs/frontend/development/#development) I get the following error:
Did anyone also have the same issue? |
Beta Was this translation helpful? Give feedback.
-
This is more of a documentation issue, but that wasn't an option. I'm trying to work on an accessibility issue, so that's why I chose this category.
I'm running Win10, and I just forked this repo.
Anyway, I'm trying run a demo version of the frontend on my machine so that I can try to work on a bug fix. However, I'm struggling with different instructions in the documentation. Here are the steps I've taken so far:
I've run
yarn install
,scripts/bootstrap
, andscripts/setup
(which I guess are all the same thing). Everytime, I get this messages about unmet peer dependencies:Even still, I tried using the command pallette to run "Tasks: Run Task" > "Develop Frontend", and it told me that the Build was done, so I tried hitting F5, and it told me there had been errors when running the task. The errors were all with eslint in script/version_bump.cjs, so I disabled those eslint rules and tried F5 again. A browser came up pointing to localhost:8123, but the localhost server wasn't running. (The error was "localhost refused to connect.").
The "Configure Home Assistant" instructions starts with editing a config/configuration.yaml file, but that file doesn't exist in the repo, nor does the
config
folder.I feel like I'm missing something. Does anyone have any advice on how to get unstuck?
Beta Was this translation helpful? Give feedback.
All reactions