helium / maker-starter-app

Apache License 2.0
36 stars 39 forks source link

TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[34], "@helium/react-native-sdk").SolanaProvider') #65

Open jackz123 opened 1 year ago

jackz123 commented 1 year ago

When I integrate the code, when running on the real machine (both android and ios), an error is reported: "nodemodules/@helium/react-native-sdk/src/index.tsx", which threw an exception: ReferenceError: Can\'t find variable: BigInt', '\nApp@/var/containers/Bundle/Application/54E2D123-2E77-4B5C-9339-99515B70EC0E/XXX.app/main ] TypeError: undefined is not an object (evaluating '$$_REQUIRE(_dependencyMap[34], "@helium/react-native-sdk").SolanaProvider')

image

Here are the versions of the libraries I depend on in my package.json "react": "17.0.2", "@helium/react-native-sdk": "^2.0.10", "react-native": "0.66.3",

Is there a solution?

matthewcarlreetz commented 1 year ago

Do you have hermes enabled for both platforms?

Ding-Fan commented 1 year ago

We encountered a similar issue. Has there been any update?