#community-help

Solving Docusaurus Integration with Typesense

TLDR Anca encountered problems integrating TypeSense with a Docusaurus website and ran into errors during scraper setup and theme installation. Jason provided solutions including using different terminal commands and updating the Docusaurus version.

Powered by Struct AI

1

1

Jun 08, 2022 (19 months ago)
Anca
Photo of md5-0c5aa227c972cf514c1d274512f88e51
Anca
04:10 PM
Hi, everyone! I just got started with the integration of TypeSense with a Docusaurus website, Jason provided amazing guidance, thanks for that 🙂 !

When trying to run the scraper, I got this error:
Any ideas on how to fix it?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:16 PM
Ah, looks like cat might not available on Windows command prompt... Would you be able to run this via WSL terminal?

1

04:17
Jason
04:17 PM
Or looks like the equivalent command in Windows is type: https://stackoverflow.com/a/60254/123545

So could you try replacing cat with type
Anca
Photo of md5-0c5aa227c972cf514c1d274512f88e51
Anca
04:43 PM
It ran it in the WSL terminal and it worked (I think!). The output doesn't have any errors, so I assume it's ok. Thanks!

1

Jun 09, 2022 (19 months ago)
Anca
Photo of md5-0c5aa227c972cf514c1d274512f88e51
Anca
03:40 PM
I am running into a different error when trying to install the theme for Docusaurus. Any idea if this is related to the versioning of the website? As far as I am aware, I only have one version :thinking_face:
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:16 PM
Yeah it's related to Docusaurus versions. I'd recommend using the latest docusaurus version along with 0.4.0 version of the theme
Anca
Photo of md5-0c5aa227c972cf514c1d274512f88e51
Anca
04:21 PM
Thanks, Jason, I will look into that!