Closed liberat0r closed 1 week ago
This seems to be an issue specifically with create-react-app
.
Here's what has worked for a few other users: https://stackoverflow.com/questions/76888080/react-app-throwing-axios-1-default-post-is-not-a-function-error/76906979#76906979
Description
Attempting to use the
typesense
package and more specifically the SearchClient on a create-react-app front-end. I keep getting the following error:Steps to reproduce
The following code should be enough to reproduce this error:
Expected Behavior
I would expect to see some results in
res
.Actual Behavior
Getting the error mentioned above and the app is crashing.
Metadata
Typesense Version: 1.8.2
OS: windows, create-react-app, node 21