taro
taro copied to clipboard
4.x 版本的发布以哪个为准呢?能否统一一下?
相关平台
鸿蒙
使用框架: React
复现步骤
目前发现4.x分支发Alpha,harmony分支发beta,beta版本h5有bug,alpha版本鸿蒙不是最新,能否统一一下?
期望结果
统一分支打版本
实际结果
不清楚哪个是最新,使用存在困扰
环境信息
👽 Taro v4.0.0-beta.108
Taro CLI 4.0.0-beta.108 environment info:
System:
OS: macOS 13.6.7
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
npmPackages:
@tarojs/cli: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/components: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/helper: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/plugin-framework-react: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/plugin-platform-harmony-ets: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/react: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/runtime: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/shared: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/taro: 4.0.0-alpha.29 => 4.0.0-alpha.29
@tarojs/vite-runner: 4.0.0-alpha.29 => 4.0.0-alpha.29
babel-preset-taro: 4.0.0-alpha.29 => 4.0.0-alpha.29
eslint-config-taro: 4.0.0-alpha.29 => 4.0.0-alpha.29
react: ^18.0.0 => 18.2.0
+1 4.0.0-beta.116 4.0.0-canary.13 4.0.0-alpha.37 几个版本的默认脚手架vite跑起来都报错
SyntaxError: Identifier 'URL' has already been declared(env: macOS,mp,1.06.2405020; lib: development)
SyntaxError: Identifier 'getComputedStyle' has already been declared(env: macOS,mp,1.06.2405020; lib: development)
app.js错误:
Error: module 'vendors.js' is not defined, require args is './vendors.js'
at q (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at n (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at app.js:3
at WASubContext.js?t=wechat&s=1720491723581&v=development:1
at p.runWith (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at q (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at appservice.js:7
at doWhenAllScriptLoaded (getmainpackage.js:6384)
at Object.scriptLoaded (getmainpackage.js:6419)
at Object.<anonymous> (getmainpackage.js:6477)(env: macOS,mp,1.06.2405020; lib: development)
Error: module 'vendors.js' is not defined, require args is './vendors.js'
at q (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at n (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at app.js:3
at WASubContext.js?t=wechat&s=1720491723581&v=development:1
at p.runWith (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at q (WASubContext.js?t=wechat&s=1720491723581&v=development:1)
at appservice.js:7
at doWhenAllScriptLoaded (getmainpackage.js:6384)
at Object.scriptLoaded (getmainpackage.js:6419)
at Object.<anonymous> (getmainpackage.js:6477)(env: macOS,mp,1.06.2405020; lib: development)
Taro CLI 4.0.0-canary.13 environment info:
System:
OS: macOS 13.2
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
npm: 10.5.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
npmPackages:
@tarojs/cli: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/components: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/helper: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-framework-react: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-alipay: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-h5: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-jd: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-qq: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-swan: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-tt: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/plugin-platform-weapp: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/react: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/runtime: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/shared: 4.0.0-canary.13 => 4.0.0-canary.13
@tarojs/taro: 4.0.0-canary.13 => 4.0.0-canary.13
babel-preset-taro: 4.0.0-canary.13 => 4.0.0-canary.13
eslint-config-taro: 4.0.0-canary.13 => 4.0.0-canary.13
react: ^18.0.0 => 18.3.1
同样的问题, 使用beta最新分支跑RN一堆报错...
同样的问题, 使用beta最新分支跑RN一堆报错...
尝试了下 使用canary.13分支, 包管理工具使用yarn (pnpm会报错), 将package.json中其它版本号为 3.6.33 的taro相关npm包统一改成canary.13, 可以正常构建出RN产物 记录下供后面踩坑参考
先有正式版,然后出beta版,再出alpha版,真是颠覆3观!
哪位大哥知道如何把taro里的静态svg打到鸿蒙项目里去?感谢