We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React Native
使用框架: React
1.Taro init创建新项目选择 React TypeScript Less 默认模板 创建项目 2.运行npm run dev:rn 或者 npm run build:rn
正常运行
运行报错: UnhandledPromiseRejectionWarning: Error: Cannot find module 'babel-plugin-transform-jsx-to-stylesheet'
Taro CLI 3.0.2 environment info: System: OS: macOS 10.15.6 Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node Yarn: 1.22.4 - ~/.nvm/versions/node/v12.16.1/bin/yarn npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm npmPackages: @tarojs/components: 3.0.2 => 3.0.2 @tarojs/mini-runner: 3.0.2 => 3.0.2 @tarojs/react: 3.0.2 => 3.0.2 @tarojs/runtime: 3.0.2 => 3.0.2 @tarojs/taro: 3.0.2 => 3.0.2 @tarojs/webpack-runner: 3.0.2 => 3.0.2 babel-preset-taro: 3.0.2 => 3.0.2 eslint-config-taro: 3.0.2 => 3.0.2 react: 16.3.1 => 16.3.1 react-native: 0.55.4 => 0.55.4 npmGlobalPackages: typescript: 3.8.3
1.使用npm安装依赖 无法安装@tarojs/components-rn相关包 2.使用yarn安装依赖,@tarojs/components-rn选择版本的时候会重复出现此步骤
The text was updated successfully, but these errors were encountered:
使用Windows系统出现相同问题,不知道是否是我操作步骤有问题
Sorry, something went wrong.
Taro 3 暂不支持 RN。
#6986
可惜,目前3.x的版本对于各种API和语法支持个人觉得非常优秀。居然不支持RN,希望尽快支持
No branches or pull requests
相关平台
React Native
使用框架: React
复现步骤
1.Taro init创建新项目选择 React TypeScript Less 默认模板 创建项目
2.运行npm run dev:rn 或者 npm run build:rn
期望结果
正常运行
实际结果
运行报错:
UnhandledPromiseRejectionWarning: Error: Cannot find module 'babel-plugin-transform-jsx-to-stylesheet'
环境信息
补充信息
1.使用npm安装依赖 无法安装@tarojs/components-rn相关包
2.使用yarn安装依赖,@tarojs/components-rn选择版本的时候会重复出现此步骤
The text was updated successfully, but these errors were encountered: