-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
小程序官方Demo转换成Taro代码,运行h5报错 #15524
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Apr 17, 2024
Call Stack |
This was referenced Apr 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/brainee/weixin-pages-convert.git
小程序基础库: 8.0.36
使用框架: React
复现步骤
cd .. && npx tsc npx @tarojs/cli-convertor
cd taroConvert && npm run dev:h5
期望结果
h5页面正常运行
实际结果
home.js:164 Uncaught ReferenceError: Tsearch is not defined
at BaseComponent2.render (home.js:164:1)
at finishClassComponent (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:14875:53)
at updateClassComponent (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:14840:42)
at beginWork (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:16084:40)
at HTMLUnknownElement.callCallback2 (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:3812:38)
at Object.invokeGuardedCallbackDev (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:3836:38)
at invokeGuardedCallback (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:3870:49)
at beginWork$1 (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:19978:29)
at performUnitOfWork (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:19407:32)
at workLoopSync (vendors-node_modules_taro_h5_prebundle_chunk-4IQZHIGR_js.chunkhash.js:19346:25)
环境信息
The text was updated successfully, but these errors were encountered: