#community-help

Resolving Demo UI Issues in Typesense Opensource Project

TLDR Nicola was unable to get the demo UI for Typesense to work. Jason pointed out the possible issue and gave guidance. Nicola resolved the problem by rectifying the server's host configuration.

Powered by Struct AI

1

Sep 17, 2021 (28 months ago)
Nicola
Photo of md5-7797fba1e192364d30f24c17d4914795
Nicola
03:48 PM
Hi community typesense 😄, for a few days now I've been testing this amazing opensource project. I was able to install and setup without any problems. I am mainly a node.js programmer and from here I can interact with typesense without problems (writing data, updating them, deleting them, doing searches, etc.). I am unable to get the demo UI (https://typesense.org/docs/0.21.0/guide/search-ui-components.html#walk-through) to work in order to test the search types more thoroughly . The errors that come back to me in the console are the following. I'm definitely doing something stupid wrong, can anyone help me?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:31 PM
Nicola It looks like Typesense server might not be running?
04:32
Jason
04:32 PM
If you're running this demo app: https://github.com/typesense/typesense-instantsearch-demo

You want to run: npm run typesenseServer
Sep 18, 2021 (28 months ago)
Nicola
Photo of md5-7797fba1e192364d30f24c17d4914795
Nicola
03:43 PM
hi Jason thank you so much for the tip! I am running the version without docker but I have identified the problem, it was the host inside the configuration where I had placed localhost instead of the external ip of the server, so the xhr calls did not work. Now everything works! Thank you very much for your availability

1