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
On the lines of #8, we're seeing an issue with a library we are building @appbaseio/reactivesearch-native that has a dependency that uses fetch-everywhere.
Exact error:
Device: (1069:6932) Failed to install module ‘@appbaseio/reactivesearch-native’: undefined is not an object (evaluating ‘r.fetch.bind’) imported from null
Do you have any pointers on how we could resolve it?
On react-native environment, L7 somehow evals to this.fetch.bind(this) which causes the error. See this snack snippet that demonstrates this - https://snack.expo.io/B1gJ6nx8G.
Error log on this snippet:
siddharthlatest
changed the title
React Native and snack: undefined is not an object (evaluating ‘r.fetch.bind’) imported from null
React Native: undefined is not an object (evaluating ‘r.fetch.bind’) imported from null
Feb 1, 2018
The solution to this is posted here. I found it after a lot of searching. I'll fix it and put in the pull request in a few. Until it's merged you can monkey patch it in your app yourself or use my fork. Although I do realize this is a very old issue.
On the lines of #8, we're seeing an issue with a library we are building
@appbaseio/reactivesearch-native
that has a dependency that uses fetch-everywhere.Exact error:
Do you have any pointers on how we could resolve it?
This is an online environment where the error can be seen: https://snack.expo.io/@siddharthlatest/reactivesearch-snack
The text was updated successfully, but these errors were encountered: