#NP-reactnative-errors
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- naitik0406_65706, 2 hours ago, 51 messages
It;'s new issue
hello NP, setting up ReactNative packages can be tricky due to the multiple different environments/frameworks/versions.
off hand, I do not know what the issue here is, one seems to indicate something about the Stripe React Native SDK but the other two are more generic React Native issues.
Is this on a fresh project? or a continuation of what you were talking about in the earlier thread?
It's same project but getting error while running project.
sdk installed successfully
my advice would be to take a completely fresh project, with nothing except just the Stripe React Native SDK installed and check if the errors occur there. I say that as someone who's gone through the pain of integrating diff libraries on React Native projects, debugging live is really hard so I had to break down the problem and start from the basics with a fresh project
right now that error could mean anything, it isn't a standard error
Yes it's plan project
I don't understand what you mean?
ok so first, can you lay out all the steps you took, to set up your fresh project?
e.g. call npm X and install y etc
and then at which point do you get this error
I have created fresh project then installed yark SDK via yarn add @stripe/stripe-react-native
SDK installed successfully.
then when I run the project getting an error
are you using Expo?
No simple RN project
what version of RN are you on? and what version of the stripe-react-native is installed, in your pacakge-lock.json?
I'm seeing that this says it could be an issue with incorrect React Native versions: https://github.com/stripe/stripe-react-native/issues/1270#issuecomment-1440650391
I am using RN 0.64.4 and stripe SKD version is 0.19.0
👋 hopping in here since hmunoz has to head out - give me a few mi nutes to catch up
okay
You said you're only getting this error when you run the project, right? What command are you using to run it?
NP-reactnative-errors
npx react-native run-android
Can you try with npx react-native run-android --reset-cache
Hmm... if resetting the cache doesn't work the only thing I can think of is trying a different version of the stripe SDK
any solution of this erorr?