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

3.6.17 使用customWrapper出现Template undefined not found.错误 #14599

Closed
YeYbfwad opened this issue Sep 25, 2023 · 4 comments · Fixed by #14665
Closed

3.6.17 使用customWrapper出现Template undefined not found.错误 #14599

YeYbfwad opened this issue Sep 25, 2023 · 4 comments · Fixed by #14665
Assignees
Labels
F-vue3 Framework - Vue 3 P-0 Critical, patch T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@YeYbfwad
Copy link

相关平台

微信小程序

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

复现步骤

该问题在3.6.14版本下正常,3.6.17使用customWrapper会出现异常

期望结果

3.6.17正常

实际结果

3.6.17出现Template undefined not found.错误

环境信息

  Taro CLI 3.6.12 environment info:
    System:
      OS: macOS 13.4.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.17.0 - ~/Library/Caches/fnm_multishells/21598_1695375889235/bin/node
      Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/21598_1695375889235/bin/yarn
      npm: 8.15.0 - ~/Library/Caches/fnm_multishells/21598_1695375889235/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.17 => 3.6.17
      @tarojs/components: 3.6.17 => 3.6.17
      @tarojs/helper: 3.6.17 => 3.6.17
      @tarojs/plugin-framework-vue3: 3.6.17 => 3.6.17
      @tarojs/plugin-html: ^3.6.17 => 3.6.17
      @tarojs/plugin-platform-alipay: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-h5: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-jd: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-qq: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-swan: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-tt: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-weapp: 3.6.17 => 3.6.17
      @tarojs/runtime: 3.6.17 => 3.6.17
      @tarojs/shared: 3.6.17 => 3.6.17
      @tarojs/taro: 3.6.17 => 3.6.17
      @tarojs/taro-loader: 3.6.17 => 3.6.17
      @tarojs/webpack5-runner: 3.6.17 => 3.6.17
      babel-preset-taro: 3.6.17 => 3.6.17
      eslint-config-taro: 3.6.17 => 3.6.17
    npmGlobalPackages:
      typescript: 5.1.6
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Sep 25, 2023
@Chen-jj
Copy link
Contributor

Chen-jj commented Sep 25, 2023

@JunVincetHuo CLI 版本和项目内 Taro 相关依赖版本保持一致后再试试?如还有问题可以提供一下可复现的 demo 哈

@YeYbfwad
Copy link
Author

YeYbfwad commented Sep 26, 2023

@Chen-jj cli与项目内taro版本保持一致依然无效,demo:https://github.com/JunVincetHuo/taro-vue3-custom-wrapper-bug-demo

只要使用custom-wrapper必定报错,3.6.16以及之前的版本是没有问题的,3.6.17才出现

@MuYiBo
Copy link

MuYiBo commented Sep 27, 2023

同样出现这个问题,使用了 CustomWrapper 组件的地方都直接报错了。组件也不显示出来

@Chen-jj Chen-jj self-assigned this Sep 27, 2023
@Chen-jj
Copy link
Contributor

Chen-jj commented Sep 27, 2023

#14610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue3 Framework - Vue 3 P-0 Critical, patch T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
4 participants