Skip to content

[Bug]: 使用taro4.1.1,init一个项目,编译出鸿蒙之后,在使用tabbar的情况下,鸿蒙无法编译,没有tabbar则正常 #17768

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

Closed
2 of 13 tasks
fanlvwen opened this issue May 30, 2025 · 1 comment · Fixed by #17797
Assignees
Labels
bug Something isn't working

Comments

@fanlvwen
Copy link

fanlvwen commented May 30, 2025

请先确认

  • 我已搜索并确定这个提交不是重复的

相关平台

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)
  • 鸿蒙(harmony)

小程序基础库版本

1

使用框架

React

问题描述

使用taro4.1.1,init一个项目,编译出鸿蒙之后,在使用tabbar的情况下,鸿蒙无法编译,没有tabbar则正常

复现链接

https://github.com/fanlvwen/taro4.1.1-harmony.git

复现步骤

  1. 通过DevEco Studio新建一个空项目
  2. 正常init一个项目,链接https://github.com/fanlvwen/taro4.1.1-harmony.git,配置编译后项目地址指向步骤1
  3. taro build --type harmony_cpp
  4. DevEco Studio连接真机,run一切正常
  5. 修改taro项目,增加tabbar配置,鸿蒙编译异常,报错如下

Image

环境信息

C:\Users\user>taro -v
👽 Taro v4.1.1
4.1.1
C:\Users\user>node -v
v18.20.4

贡献代码

  • 我愿意修复这个错误
@fanlvwen fanlvwen added the bug Something isn't working label May 30, 2025
@fanlvwen
Copy link
Author

鸿蒙环境

Image

This was referenced May 31, 2025
@xuanzebin xuanzebin self-assigned this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants