ice
ice copied to clipboard
ICE UI stops working
Hi! I'm really excited about the project and the UI was working for a while but it seems like some state got corrupted somewhere, because all of a sudden I get this error message instead of the UI:
ui/index.html not found. Run `npm run build` in the ui directory to create it, or run `npm run dev` to run the dev server and access localhost:5173 instead.
I'm not building ICE from source so I'm pretty confused as to how this could have happened.
I see that this error has happened to someone else, but it wasn't resolved there. https://github.com/oughtinc/ice/issues/154#issuecomment-1356228273
Any help would be really appreciated, thanks!
Are you using a git clone of this repo, or did you just pip install
from PyPI?
I pip installed. I'm following the Primer: https://primer.ought.org/
Aha! I was finally able to resolve this by restarting the server using python -m ice.server stop
. I missed that command as the logs flew by. Would it be possible to add this command in a more prominent place in the docs?
3 months later I had the same problem, so, definitely second @joshpoll 's suggestion to add this to the README. :-)