Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taro init rn 新项目安卓启动红屏报错 #11359

Closed
eugle opened this issue Feb 26, 2022 · 2 comments
Closed

taro init rn 新项目安卓启动红屏报错 #11359

eugle opened this issue Feb 26, 2022 · 2 comments

Comments

@eugle
Copy link

eugle commented Feb 26, 2022

相关平台

react native

复现仓库

https://gitee.com/eugle_com/job-taro-rn
使用框架: React

复现步骤

taro init 选择rn模版
yarn upgradePeerdeps
yarn start

期望结果

成功打开app

实际结果

红屏报错:错误代码 RNGestureHandlerModule.attachGestureHandler got 2 arguments, expected 3

环境信息

Taro CLI 3.4.1 environment info:
    System:
      OS: macOS 12.2.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 12.16.3 - /usr/local/bin/node
      Yarn: 1.22.17 - ~/.yarn/bin/yarn
      npm: 6.14.4 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.4.1 => 3.4.1 
      @tarojs/components: 3.4.1 => 3.4.1 
      @tarojs/mini-runner: 3.4.1 => 3.4.1 
      @tarojs/react: 3.4.1 => 3.4.1 
      @tarojs/runtime: 3.4.1 => 3.4.1 
      @tarojs/taro: 3.4.1 => 3.4.1 
      @tarojs/webpack-runner: 3.4.1 => 3.4.1 
      babel-preset-taro: 3.4.1 => 3.4.1 
      eslint-config-taro: 3.4.1 => 3.4.1 
      react: ^17.0.2 => 17.0.2 
      react-native: ^0.66.0 => 0.66.4 

补充信息

ios 一切正常
使用 taro-playground
在手机端安装后扫码测试

@github-actions
Copy link
Contributor

等待热心的小伙伴解决问题中..., 有一些相关的 issues 可能帮助到你!

Thank you so much!

@eugle
Copy link
Author

eugle commented Feb 26, 2022

使用的是playground版本是: v1.4.1-beta.6
我尝试换成:v1.3.9

更换后已正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant