The esphome dashboard does not work

After using pip install the esphome,I found the dashboard does not work,

Only the title appears, no content in the body.

This is the F12 screen

Does anyone know what is the matter?

Thanks

Thanks for your answering .
BUT I installed the esphome on two laptop, the esphome on win10 works correctly (the dashboard appear as described in the document).
The laptop running win11 met this problem.
Whether the esphome dashboard only work on the laptop that have installed the HA before?

The error message spells out exactly how you should start it (although not sure if it works on windows).

this is the error prompt
The resource http://127.0.0.1:6052/static/fonts/material-icons/MaterialIcons-Regular.woff2?hash=570eb838 was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

So appreciate any suggestion to fix it.

I was referring to the 4th line of your first picture. It tells you the error it thinks you made.


do you mean the warning ?
I change the command line and there is no warning now.
But the dashboard still does not work.

No. Have installed ESPHome on Windows 10 with NO HA installed.
It works fine. Unfortunately have no Win11 to test/check.

1 Like

Do you get the dashboard? If so, what commandline?

"<path_to>\esphome.exe" dashboard <absolute_path_to_config_directory>


It does not work either ,even I have used the absolute path

Yes ,but the page can not load completely ,some JS files are not loaded , I do not know why.

As the below picture, the title is loaded successfully,but there is no content in the page.

Did You tried to ‘Run as administrator’ ?

Solved by this adjustment