algoliasearch-client-javascript icon indicating copy to clipboard operation
algoliasearch-client-javascript copied to clipboard

Bug: clone is not a function

Open mtx62 opened this issue 8 years ago • 8 comments

"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 avatar Jul 13 '18 03:07 mtx62

@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].

Haroenv avatar Jul 13 '18 07:07 Haroenv

Hi @Haroenv, As requested I send the code to [email protected] from my email. Thank you.

mtx62 avatar Jul 13 '18 15:07 mtx62

by the way I think it's related to https://github.com/algolia/algoliasearch-client-javascript/issues/681.

mtx62 avatar Jul 13 '18 15:07 mtx62

@mtx62, which email did you use to send a message, I can't find it :)

Haroenv avatar Jul 13 '18 15:07 Haroenv

@Haroenv [email protected]

mtx62 avatar Jul 13 '18 15:07 mtx62

Hi everyone, did anyone find the solution for this problem ? Thanks!

twillstudio avatar Sep 26 '18 23:09 twillstudio

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!

Haroenv avatar Sep 27 '18 06:09 Haroenv

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.

samouss avatar Oct 04 '18 15:10 samouss