如何在react-native上配置领域

时间:2017-02-16 01:22:24

标签: node.js react-native realm react-native-ios

我想在我的react-native应用程序中使用realm。我执行了命令npm install --save realm然后我执行了命令rnpm link realm,这些是我在index.ios.js中的代码:

enter image description here

我在运行应用时遇到错误

enter image description here 我无法在我的问题中插入整齐的代码,所以我插入了一张图片

1 个答案:

答案 0 :(得分:0)

OMG,如果遇到类似这样的问题,也许你需要更新你的模块