event-catalog / eventcatalog

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

Search causing a 404 on `/pagefind/pagefind.js` #811

Closed hukhuk closed 1 month ago

hukhuk commented 1 month ago

I tried this:

Trying to search for anything using the search. Clicking the search bar causes the search box to open up.

This happened:

Searching for anything causes the Searching for x... to show up image

but nothing is ever shown in the results. I can see a 404 in the terminal image as well as the network tab of dev tools image

I expected this:

No response

Is there a workaround?

Not that I know of.

Anything else?

This happens to me on a brand new event catalog created with npx @eventcatalog/create-eventcatalog@latest and ran with npm run dev. Platform is WSL2 with Ubuntu on Windows.

EventCatalog Version

@eventcatalog/core@2.7.15

Node.js Version

v20.17.0

Platform(s)

Linux

Community Notes

carlosallexandre commented 1 month ago

Check this. This issue can help.

Tell us if it works for you :pray:

hukhuk commented 1 month ago

That worked, thanks. Maybe it could be added to the getting started -instructions as well?