Closed sefai closed 2 months ago
I get this as well; I do not get it with 4.24.0.
"next": "^14.2.8",
"react": "^18.3.1",
"react-instantsearch": "^7.13.0",
"react-instantsearch-nextjs": "^0.3.10",
Seems like you might be hitting different cases. Do you have a reproduction available with which code and what scenario this throws?
Hello @Haroenv,
I don't think this needs a reproduction, if you update "algoliasearch" to "5.3.0" in SSR example with Remix or SSR example with Next.js you will see the error.
Regards,
Hi, I can confirm this issue is also happening on
"algoliasearch": "^5.2.5"
working fine on
"algoliasearch": "5.1.1",
Same issue with "algoliasearch": "^5.3.0"
I can reproduce and am looking into the solution, of course in the mean time don't hesitate to use v4 or 5.1.1
With my NextJS app I get a different error with 5.1.1.
TypeError: (0 , algoliasearch__WEBPACK_IMPORTED_MODULE_1__.default) is not a function
This might be something with my particular app or setup, though.
Actually, the above error was because of how I was importing algoliasearch in the component. Once I fixed that I received the original error again with 5.1.1. Maybe this is specific to react-instantsearch-nextjs
since that is still experimental.
Description
I've updated algoliasearch to 5.3.0 and other packages as well, below is the error I get.
Client
Search
Version
"algoliasearch": "^5.3.0", "instantsearch.js": "^4.74.0","react-instantsearch": "^7.13.0","@algolia/requester-fetch": "^5.3.0"
Relevant log output