question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined is not an object (evaluating 'TPSStripeManager.init')

See original GitHub issue

This is my test data

 Stripe.init({
            publishableKey: 'pk_test_xxxxxxxxxxxxxxxx',
            merchantId: null,
        });
        Stripe.createTokenWithCard({
            number: 4242424242424242,
            expMonth: 10,
            expYear: 19,
            cvc: 345,
        }).then((token) => {
            console.log(token)
        });

import Stripe from ‘tipsi-stripe’

I am having this issue in the iOS simulator.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
duranmlacommented, Sep 4, 2017

Sorry, It was my first time with an iOS project using react native, the thing was that I needed to rebuild the project by running react-native run-ios after moving the folder TPSStripe within “Libraries”. After that, run XDE Expo and everything works as expected.

0reactions
duranmlacommented, Sep 4, 2017

fizios_ hashlabs_alexis -zsh _119x52_and_glass

I have already linked the dependencies but it still shows me the error, not sure what to do, besides, I have also added the TPSStripe folder into my XCode project (maybe in a wrong place) but I still have the issue.

It is after ejecting from CRNA using RN 0.47 and Expo 19

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve this problem? TypeError: undefined is not an ...
TypeError: undefined is not an object (evaluating 'prevDeps.length') ... and you are not initializing it correctly with the data it expects.
Read more >
[React Native] TypeError: undefined is not an object ...
Can you help me with this error? I am getting this error while trying to call sb.connect() TypeError: undefined is not an object...
Read more >
TypeError: null is not an object (evaluating 'WebRTCModule ...
I'm building an React-native-app with openvidu, I've already went through the tutorial and even tested the demo, and made some changes to ...
Read more >
How to Fix TypeError: Null is Not an Object in JavaScript
The JavaScript error TypeError: null is not an object occurs when a property is accessed or a method is called on a null...
Read more >
LWC - TypeError: undefined is not an object (evaluating 'e ...
EDIT. There is actually another issue here, and it's a bit sneaky. When you write to this.value you are assigning that value an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found