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 vue3开发安卓APP,执行npm run build:rn #16848

Open
1601463525 opened this issue Nov 11, 2024 · 1 comment
Open

用Taro vue3开发安卓APP,执行npm run build:rn #16848

1601463525 opened this issue Nov 11, 2024 · 1 comment

Comments

@1601463525
Copy link

相关平台

React Native

使用框架: Vue 3

复现步骤

用Taro vue3 开发安卓APP,执行npm run build:rn报错or index.js: [BABEL] D:\代码\myAPP05\index.js: Value "vue3" of option "framework" is not supported for React-Native (While processing: "D:\代码\myAPP05\node_modules\babel-preset-taro\index.js").
Error: [BABEL] D:\代码\myAPP05\index.js: Value "vue3" of option "framework" is not supported for React-Native (While processing: "D:\代码\myAPP05\node_modules\babel-preset-taro\index.js"),是不是Taro vue3 不支持开发安卓APP?必须使用Taro React?

期望结果

用Taro vue3 开发安卓APP,执行npm run build:rn报错or index.js: [BABEL] D:\代码\myAPP05\index.js: Value "vue3" of option "framework" is not supported for React-Native (While processing: "D:\代码\myAPP05\node_modules\babel-preset-taro\index.js").
Error: [BABEL] D:\代码\myAPP05\index.js: Value "vue3" of option "framework" is not supported for React-Native (While processing: "D:\代码\myAPP05\node_modules\babel-preset-taro\index.js"),是不是Taro vue3 不支持开发安卓APP?必须使用Taro React?

实际结果

用Taro vue3 开发安卓APP,执行npm run build:rn报错or index.js: [BABEL] D:\代码\myAPP05\index.js: Value "vue3" of option "framework" is not supported for React-Native (While processing: "D:\代码\myAPP05\node_modules\babel-preset-taro\index.js").
Error: [BABEL] D:\代码\myAPP05\index.js: Value "vue3" of option "framework" is not supported for React-Native (While processing: "D:\代码\myAPP05\node_modules\babel-preset-taro\index.js"),是不是Taro vue3 不支持开发安卓APP?必须使用Taro React?

环境信息

Taro v3.6.28


  Taro CLI 3.6.28 environment info:
    System:
      OS: Windows 10 10.0.17763
    Binaries:
      Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.28 => 3.6.28
      @tarojs/components: 3.6.28 => 3.6.28
      @tarojs/components-rn: ^4.0.7 => 4.0.7
      @tarojs/helper: 3.6.28 => 3.6.28
      @tarojs/plugin-framework-vue3: 3.6.28 => 3.6.28
      @tarojs/plugin-html: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-alipay: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-h5: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-jd: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-qq: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-swan: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-tt: 3.6.28 => 3.6.28
      @tarojs/plugin-platform-weapp: 3.6.28 => 3.6.28
      @tarojs/rn-runner: ^4.0.7 => 4.0.7
      @tarojs/rn-supporter: ^4.0.7 => 4.0.7
      @tarojs/runtime: 3.6.28 => 3.6.28
      @tarojs/runtime-rn: ^4.0.7 => 4.0.7
      @tarojs/shared: 3.6.28 => 3.6.28
      @tarojs/taro: 3.6.28 => 3.6.28
      @tarojs/taro-loader: 3.6.28 => 3.6.28
      @tarojs/taro-rn: ^4.0.7 => 4.0.7
      @tarojs/webpack5-runner: 3.6.28 => 3.6.28
      babel-preset-taro: 3.6.28 => 3.6.28
      eslint-config-taro: 3.6.28 => 3.6.28
      expo: ~47.0.3 => 47.0.14
      react: ^18.1.0 => 18.3.1
      react-native: ^0.70.5 => 0.70.15
@ShaoGongBra
Copy link
Contributor

开发RN APP当然要用react啦,建议来使用 http://duxapp.cn

This was referenced Nov 16, 2024
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

2 participants