-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
请先确认
- 我已搜索并确定这个提交不是重复的
相关平台
- 所有小程序
- 微信小程序
- 支付宝小程序
- 百度小程序
- 字节跳动小程序
- QQ 轻应用
- 京东小程序
- 快应用平台(QuickApp)
- Web 平台(H5)
- 移动端(React-Native)
- 鸿蒙(harmony)
小程序基础库版本
2.23.4 - 3.8.9测试都有
使用框架
React
问题描述
之前做的小程序,使用Taro 3.6开发的,之前做的时候H5和微信小程序都正常,最近需要改个默认值重新编译,然后小程序就不能打开首页了,报错。
从之前开发时能正常编译运行到现在出现报错,这期间我的开发环境存在变化的操作是:升级过几次“微信开发者工具”。
尝试降级“微信开发者工具”,其中有一次没出现报错,不过后续多编译几次又出现报错,且持续报错无解决。尝试升级Taro 4.1.2依然报错,H5网页版是没有任何报错信息的。
暂无复现链接,先咨询下有没有朋友遇到过,后续再想办法从当前业务逻辑抽离代码才能进行复现。
复现链接
https://github.com/NervJS/taro
复现步骤
- 打开首页即报错
环境信息
👽 Taro v4.1.2
defineConfig command info mode undefined
Taro CLI 4.1.2 environment info:
System:
OS: Windows 11 10.0.26100
Binaries:
Node: 20.18.2 - ~\AppData\Local\Volta\tools\image\node\20.18.2\node.EXE
npm: 11.1.0 - ~\AppData\Local\Volta\tools\image\npm\11.1.0\bin\npm.CMD
npmPackages:
@tarojs/cli: 4.1.2 => 4.1.2
@tarojs/components: 4.1.2 => 4.1.2
@tarojs/helper: 4.1.2 => 4.1.2
@tarojs/plugin-framework-react: 4.1.2 => 4.1.2
@tarojs/plugin-html: ^4.1.2 => 4.1.3
@tarojs/plugin-platform-alipay: 4.1.2 => 4.1.2
@tarojs/plugin-platform-h5: 4.1.2 => 4.1.2
@tarojs/plugin-platform-harmony-hybrid: 4.1.2 => 4.1.2
@tarojs/plugin-platform-jd: 4.1.2 => 4.1.2
@tarojs/plugin-platform-qq: 4.1.2 => 4.1.2
@tarojs/plugin-platform-swan: 4.1.2 => 4.1.2
@tarojs/plugin-platform-tt: 4.1.2 => 4.1.2
@tarojs/plugin-platform-weapp: 4.1.2 => 4.1.2
@tarojs/react: 4.1.2 => 4.1.2
@tarojs/runtime: 4.1.2 => 4.1.2
@tarojs/shared: 4.1.2 => 4.1.2
@tarojs/taro: 4.1.2 => 4.1.2
@tarojs/taro-loader: 4.1.2 => 4.1.2
@tarojs/webpack5-runner: 4.1.2 => 4.1.2
babel-preset-taro: 4.1.2 => 4.1.2
eslint-config-taro: 4.1.2 => 4.1.2
react: ^18.0.0 => 18.3.1
贡献代码
- 我愿意修复这个错误
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working