You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a brand new TypeSense user. I am trying to move my existing Docusaurus website from Algolia --> TypeSense. I followed the steps from the documentation, and I cannot get it working.
When attempting to type anything into the search, I get the following error in the JavaScript console:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map')
at t.value (37702.a034fb89.js:2:3949)
at t.value (37702.a034fb89.js:2:8672)
at 90888.529c7e8f.js:1:56429
at p (37702.a034fb89.js:2:105125)
at Generator.<anonymous> (37702.a034fb89.js:2:106462)
at Generator.next (37702.a034fb89.js:2:105488)
at jt (90888.529c7e8f.js:1:55241)
at i (90888.529c7e8f.js:1:56585)
More Info
I am self-hosting TypeSense. I can see what the version is from the log file:
Turns out this was because I was incorrectly specifying the name of the collection in my Docusaurus settings. I propose that the runtime error should be changed to something more appropriate, like:
Failed to query the remote collection of "foo". Make sure that the configured collection name matches what is actually present on the remote Typesense server.
Description
Hello,
I am a brand new TypeSense user. I am trying to move my existing Docusaurus website from Algolia --> TypeSense. I followed the steps from the documentation, and I cannot get it working.
My Docusaurus site is published to: https://isaacscript.github.io/
When attempting to type anything into the search, I get the following error in the JavaScript console:
More Info
I am self-hosting TypeSense. I can see what the version is from the log file:
My "typesense-server.ini" looks like this:
And the config in my "docusaurus.config.js" file is this:
For reference, the "docusaurus.config.js" file is located here:
https://github.com/IsaacScript/isaacscript/blob/main/packages/docs/docusaurus.config.js
Furthermore, I am using the following version of the plugin, which is located in my "package.json" file:
For reference, the "package.json" file is located here:
https://github.com/IsaacScript/isaacscript/blob/main/package.json
The text was updated successfully, but these errors were encountered: