疑难解答
我在运行我的 react-native 应用程序时遇到问题,错误消息是:
null is not an object (evaluating 'StripeModule.init')
我在我的 react-native 应用中使用了 tipsi-stripe 模块。
我在互联网上没有找到关于这个问题的任何主题。
最佳答案
通过运行将“tipsi-stripe”模块与 react-native 链接起来:
react-native link tipsi-stripe;
如果您有一个 expo 应用程序,您需要先使用以下命令弹出您的应用程序:
npm run eject
根据 OP Quentin Fournier Montgieux 自己在问题中的回答。
关于react-native - null 不是对象(评估 'StripeModule.init' ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58234763/
相关文章:
reactjs - Jest 测试无法使用 create react app 和 craco 导入铯
flutter - Google AdMob 奖励视频有时只加载
r - 在 R 中使用 RCurl 下载 NASA 卫星数据
angular - Ionic Barcode Scanner 插件关闭按钮
java - elasticsearch 中的 too_many_buckets_exception
r - R : how to find the place of maximum memory us
aws-lambda - 如何使用 CloudFormation 添加订阅过滤器?