dcloudio / dcloudio/uni-app

热更新:app.js错误: TypeError: Cannot read property 'call' of undefined

Open
#4,202 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
修改了代码后触发热更新,然后微信开发者工具就会报错:【app.js错误: TypeError: Cannot read property 'call' of undefined】

必须得重新启动项目才能正常,然后修改代码-重新编译后又报错了,苦不堪言呀!!
**复现步骤**
[复现问题的步骤]

修改了代码后触发热更新,然后微信开发者工具就会报错

**预期结果**

修改代码后,热更新能正常点 正常点 正常点

**实际结果**
image

**系统信息:**
- 发行平台:微信小程序
- 操作系统 [如 iOS 12.1.2、Android 7.0]


image


- HBuilderX版本 3.6.14.20221215


image

**补充信息**
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.