gpt4 book ai didi

react-native - 如何修复 RN GoogleSignin 模块链接。

转载 作者:行者123 更新时间:2023-12-04 02:36:45 27 4
gpt4 key购买 nike

每次我使用 Yarn 时,一切都会爆炸,这是 react-native-community 给出的指令。

我试过只做 npm install --save 然后使用链接命令,但到目前为止没有任何效果。

我究竟做错了什么?以及我该如何解决这个问题。

onsole.error: "RN GoogleSignin native module is not correctly linked. Please read the readme, setup and troubleshooting instructions carefully or try manual linking."

最佳答案

我通过安装 pos 解决了这个问题:

第一步:
转到应用程序内的 ios 文件夹,
检查 pod 文件,它必须有一行

  pod 'RNGoogleSignin', :path => '../node_modules/react-native-google-signin'

如果不满意,请运行命令:
  react-native link, 

将出现上述行。

第二步:
现在运行以下命令。
 pod install 

关于react-native - 如何修复 RN GoogleSignin 模块链接。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53194942/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com