ice icon indicating copy to clipboard operation
ice copied to clipboard

ICE UI stops working

Open joshpoll opened this issue 1 year ago • 4 comments

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!

joshpoll avatar Apr 04 '23 18:04 joshpoll

Are you using a git clone of this repo, or did you just pip install from PyPI?

alexmojaki avatar Apr 04 '23 20:04 alexmojaki

I pip installed. I'm following the Primer: https://primer.ought.org/

joshpoll avatar Apr 04 '23 22:04 joshpoll

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?

joshpoll avatar Apr 05 '23 22:04 joshpoll

3 months later I had the same problem, so, definitely second @joshpoll 's suggestion to add this to the README. :-)

uhgall avatar Jul 23 '23 23:07 uhgall