1***@qq.com
1***@qq.com
  • 发布:2023-04-23 16:41
  • 更新:2023-05-16 14:52
  • 阅读:1560

【报Bug】多次编译后报错 TypeError: Cannot read property 'call' of undefined at __webpack_require__ (null:91)

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: MAC OS 13.3 (22E252)

HBuilderX类型: 正式

HBuilderX版本号: 3.7.9

第三方开发者工具版本号: 1.06.2303220darwin-arm64

基础库版本号: 2.30.2

项目创建方式: HBuilderX

示例代码:

WAServiceMainContext.js?t=wechat&s=1682238912861&v=2.30.2:1 TypeError: Cannot read property 'call' of undefined
at webpack_require_ (null:91)
at Object.<anonymous> (index.vue:44)
at Object.
(index.vue:261)
at
webpack_require (null:91)
at Module._ (index.vue?b1c2:1)
at __webpack_require
(null:91)
at Module._ (index.vue?daf1:1)
at webpack_require (null:91)
at Object.componentsAuthorizeIndexCreateComponent (index.vue?7ed8:7)
at
webpack_require
(null:91)(env: macOS,mp,1.06.2303220; lib: 2.30.2)

操作步骤:

初次编译没问题,修改代码,重新多编译几次就会出现这个问题

预期结果:

能正常编译

实际结果:

多次编译后报错

bug描述:

初次编译没问题,修改代码,重新多编译几次就会出现这个问题

2023-04-23 16:41 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

能否提供下稳定复现测试工程,该问题很早就有人反馈,但是一直没有稳定复现的测试工程导致无法排查,谢谢

Lnoon

Lnoon

我是只要一开app的调试模式就报错这个错

js-framework.js:1 [JS Framework] Failed to execute the callback function:  
 TypeError: Cannot read properties of undefined (reading 'call')  
CallbackManager.consume @ js-framework.js:1  
TaskCenter.callback @ js-framework.js:1  
callback @ js-framework.js:1  
(anonymous) @ js-framework.js:1  
receiveTasks @ js-framework.js:1  
callJS @ js-framework.js:1  
global.<computed> @ js-framework.js:1  
(anonymous)  
(anonymous)  
_emit  
emit  
(anonymous)  
js-framework.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'call')  
    at __webpack_require__ (app-service.js:80)  
    at Object.login/login (app-service.js:538)  
    at js-framework.js:1  
    at js-framework.js:1  
    at js-framework.js:1  
    at js-framework.js:1  
    at r (js-framework.js:1)  
    at CallbackManager.consume (js-framework.js:1)  
    at TaskCenter.callback (js-framework.js:1)  
    at callback (js-framework.js:1)

要回复问题请先登录注册