glowing
glowing
  • 发布:2022-07-01 11:08
  • 更新:2022-07-01 14:16
  • 阅读:657

一保存就报错。Cannot read property 'call' of undefined

分类:uni-app

一保存就报如下错误,只能关闭开发者工具重新编译,请问什么原因

页面【uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker]错误:
TypeError: Cannot read property 'call' of undefined
at webpack_require_ (null:91)
at Object.
(uni-data-picker.vue:51)
at
webpack_require (null:91)
at Module._ (uni-data-picker.vue?7069:1)
at __webpack_require
(null:91)
at Module._ (uni-data-picker.vue?90da:1)
at webpack_require__ (null:91)
at Object.uni_modulesUniDataPickerComponentsUniDataPickerUniDataPickerCreateComponent (uni-data-picker.vue?c4c1:7)
at
webpack_require (null:91)
at checkDeferredModules (null:47)(env: macOS,mp,1.06.2206090; lib: 2.24.6)
(anonymous) @ VM2127:4897
doWhenAllScriptLoaded @ VM2084:5335
scriptLoaded @ VM2084:5363
(anonymous) @ VM2084:5388
load (async)
(anonymous) @ assubloader.js:1
U @ WAServiceMainContext.js:2
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ VM2084:5407
(anonymous) @ VM2084:5413
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ app-service.js:1
WAServiceMainContext.js:2 Uncaught FrameworkError
Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
at
webpack_require (http://127.0.0.1:32887/appservice/common/runtime.js:272:23)
at Object._ (http://127.0.0.1:32887/appservice/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.js:260:49)
at
webpack_require (http://127.0.0.1:32887/appservice/common/runtime.js:272:23)
at Module._ (http://127.0.0.1:32887/appservice/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.js:219:752)
at
webpack_require (http://127.0.0.1:32887/appservice/common/runtime.js:272:23)
at Module._ (http://127.0.0.1:32887/appservice/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.js:29:86)
at
webpack_require (http://127.0.0.1:32887/appservice/common/runtime.js:272:23)
at Object.uni_modulesUniDataPickerComponentsUniDataPickerUniDataPickerCreateComponent (http://127.0.0.1:32887/appservice/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.js:663:49)
at
webpack_require (http://127.0.0.1:32887/appservice/common/runtime.js:272:23)
at checkDeferredModules (http://127.0.0.1:32887/appservice/common/runtime.js:155:18)(env: macOS,mp,1.06.2206090; lib: 2.24.6)
a @ WAServiceMainContext.js:2
c @ VM9 asdebug.js:10
r @ VM9 asdebug.js:10
window.onerror @ VM2067:10
doWhenAllScriptLoaded @ VM2084:5335
scriptLoaded @ VM2084:5363
(anonymous) @ VM2084:5388
error (async)
t.default @ VM2067:10
(anonymous) @ VM2067:10
n @ VM2067:1
(anonymous) @ VM2067:1
(anonymous) @ VM2067:1
WAServiceMainContext.js:2 TypeError: Cannot read property 'call' of undefined
at
webpack_require (null:91)
at Object._ (uni-data-picker.vue:51)
at __webpack_require
(null:91)
at Module._ (uni-data-picker.vue?7069:1)
at webpack_require_ (null:91)
at Module.
(uni-data-picker.vue?90da:1)
at
webpack_require (null:91)
at Object.uni_modulesUniDataPickerComponentsUniDataPickerUniDataPickerCreateComponent (uni-data-picker.vue?c4c1:7)
at __webpack_require
(null:91)
at checkDeferredModules (null:47)(env: macOS,mp,1.06.2206090; lib: 2.24.6)
errorReport @ WAServiceMainContext.js:2
thirdErrorReport @ WAServiceMainContext.js:2
(anonymous) @ WAServiceMainContext.js:2
o @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
o @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
(anonymous) @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
emit @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
(anonymous) @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
doWhenAllScriptLoaded @ VM2084:5335
scriptLoaded @ VM2084:5363
(anonymous) @ VM2084:5388
error (async)
(anonymous) @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
(anonymous) @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:2
(anonymous) @ WASubContext.js?t=wechat&s=1656642760856&v=2.24.6:3
VM9 asdebug.js:10 GET http://127.0.0.1:50304/system/ping net::ERR_CONNECTION_REFUSED(env: macOS,mp,1.06.2206090; lib: 2.24.6)

2022-07-01 11:08 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

什么方式创建的项目,vue 版本,运行环境,报错位置代码贴一下

该问题目前已经被锁定, 无法添加新回复