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

独立分包后,跳转子包报错Component is not found in path "子包名xx/custom-wrapper",(较少偶现) #12159

Closed
follow-zy opened this issue Jul 29, 2022 · 3 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@follow-zy
Copy link

follow-zy commented Jul 29, 2022

相关平台

微信小程序

小程序基础库: 2.11.2
使用框架: React

复现步骤

小程序进入子包页面,很少偶现以下报错信息,小程序页面代码并未使用custom-wrapper组件

期望结果

正常运行

实际结果

页面未使用custom-wrapper,控制台报以下错,(非必现,在未知原因下较少次数偶现)
1:Component is not found in path "子包名xx/custom-wrapper"
2:Component is not found in path "子包名xx/comp"
87ea5709558ff60df70618facc58f2e

环境信息

 Taro CLI 3.4.11 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.16.0
      Yarn: 1.22.18
      npm: 6.14.11
    npmPackages:
      "@tarojs/components": "3.3.19",
      "@tarojs/react": "3.3.19",
      "@tarojs/runtime": "3.3.19",
      "@tarojs/taro": "3.3.19",
      "react": "^17.0.0",
      "taro-ui": "^3.1.0-beta.0"
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 29, 2022
@nuintun
Copy link
Contributor

nuintun commented Aug 3, 2022

同样问题

@Virgil-N
Copy link

一样问题,采用hook开发

@Chen-jj
Copy link
Contributor

Chen-jj commented Aug 22, 2022

#12239 类似,请移步到其下讨论。

@Chen-jj Chen-jj closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

4 participants