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

yarn build:weapp 报错 #16132

Closed
xiaosu95 opened this issue Jul 21, 2024 · 3 comments
Closed

yarn build:weapp 报错 #16132

xiaosu95 opened this issue Jul 21, 2024 · 3 comments
Labels
F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@xiaosu95
Copy link

相关平台

微信小程序

小程序基础库: none
使用框架: Vue 3

复现步骤

return appConfig.subPackages || appConfig.subpackages || [];
^

TypeError: Cannot read properties of undefined (reading 'subPackages')

期望结果

可以正常 build

实际结果

报错

环境信息

Taro v3.6.2


  Taro CLI 3.6.2 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 16.12.0 - D:\Program Files\nodejs\node.EXE
      Yarn: 1.22.18 - D:\Program Files\nodejs\yarn.CMD
      npm: 8.1.0 - D:\Program Files\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 21, 2024
@TheKonka
Copy link
Member

给个 demo 看下

@xiaosu95
Copy link
Author

xiaosu95 commented Jul 22, 2024

@TheKonka
Copy link
Member

#13544

3.6.2 版本有问题,升级一下就好了

@github-project-automation github-project-automation bot moved this from Todo to Done in Mini Program Jul 22, 2024
This was referenced Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

2 participants