event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.69k stars 143 forks source link

Search bard is not working locally #699

Closed jr-araujo closed 1 month ago

jr-araujo commented 1 month ago

🚨 Problem

Is there someone with the same issue as me, when trying to search for something locally? What seems strange is that the DEMO in the EC web page, works fine, but locally doesn't.

When I do that, locally, the console showcases to me a 404 error: image

If you go to the online DEMO: https://demo.eventcatalog.dev/docs/ , you will see that this feature works properly.

🎯 Expectations

The Search bar must work the same way locally or after a deployment.

carlosallexandre commented 1 month ago

Running the build (npm run build) and after the preview (npm run preview), it works?

Related #645.

jr-araujo commented 1 month ago

@carlosallexandre Yup! you're right about the relation this one has with the #645

I will close this one. We can maintain the previous one, though.

@carlosallexandre just to let you know that running npm run preview the Search Bar worked perfectly. But it should also work in dev mode, though.

jr-araujo commented 1 month ago

The issue was closed because it was repeated.