Bug: clone is not a function
"algoliasearch": "^3.29.0", "react-native": "^0.54.2", "react": "^16.3.0-alpha.1",
Do you want to request a feature or report a bug? Bug What is the current behavior?
TypeError: clone is not a function at AlgoliaSearchReactNative.AlgoliaSearchCore._setHostIndexByType (e6dc786a-6c3f-48f9-9…e50c15d46b1d:186970) at AlgoliaSearchReactNative.AlgoliaSearchCore._incrementHostIndex (e6dc786a-6c3f-48f9-9…e50c15d46b1d:186981) at retryRequestWithHigherTimeout (e6dc786a-6c3f-48f9-9…e50c15d46b1d:186633) at tryFallback (e6dc786a-6c3f-48f9-9…e50c15d46b1d:186616) at tryCallOne (e6dc786a-6c3f-48f9-9…-e50c15d46b1d:14083) at e6dc786a-6c3f-48f9-9…-e50c15d46b1d:14184 at e6dc786a-6c3f-48f9-9…-e50c15d46b1d:15504 at _callTimer (e6dc786a-6c3f-48f9-9…-e50c15d46b1d:15393) at _callImmediatesPass (e6dc786a-6c3f-48f9-9…-e50c15d46b1d:15429) at Object.callImmediates (e6dc786a-6c3f-48f9-9…-e50c15d46b1d:15648)
If the current behavior is a bug, please provide all the steps to reproduce and a minimal
JSFiddle example or a repository on GitHub that we can npm install
and npm start.
It's React Native app loading list of Ads
What is the expected behavior?
Load ads without crash.
Best regards.
@mtx62 could you please give the minimal code that generates this error? This stack trace won't help me find the error, since I'd need the usage first. If not possible to make it public, you can send an email with the minimal code that throws this error to [email protected].
Hi @Haroenv, As requested I send the code to [email protected] from my email. Thank you.
by the way I think it's related to https://github.com/algolia/algoliasearch-client-javascript/issues/681.
@mtx62, which email did you use to send a message, I can't find it :)
@Haroenv [email protected]
Hi everyone, did anyone find the solution for this problem ? Thanks!
I haven't been able to find a reproducing project, but all the versions in the OP have been updated since, can be checked if this is fixed by using the latest versions?
To find a solution, a minimal project in which this happens has to be made 🙂
Thanks!
This issue arise with the version 0.54.x of React Native.
To solve it, you should either upgrade on 0.55.x or downgrade on the 0.53.x.
I'm closing the issue, feel free to open a new one if the issue still persist.