当前位置:网站首页>Nodejs reported an internal error typeerror: cannot read property 'destroy' of undefined

Nodejs reported an internal error typeerror: cannot read property 'destroy' of undefined

2022-06-10 01:39:00 Autumn 9

Nodejs Internal error reported TypeError: Cannot read property 'destroy' of undefined Solutions for

【 The phenomenon 】

 internal error  TypeError: Cannot read property 'destroy' of undefined
    at AutoSceneService.getGroup (D:\work\intellij\exampledemo\app\service\autoScene.js:26:40)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async GroupController.groupList (D:\work\intellij\exampledemo\app\controller\group.js:17:17)
    at async D:\work\intellij\exampledemo\app\middleware\jwtsk.js:20:16
    at async D:\work\intellij\exampledemo\node_modules\egg-development\app\middleware\egg_loader_trace.js:9:50
    at async xframe (D:\work\intellij\exampledemo\node_modules\egg-security\lib\middlewares\xframe.js:7:5)
    at async xssProtection (D:\work\intellij\exampledemo\node_modules\egg-security\lib\middlewares\xssProtection.js:7:5)
    at async nosniff (D:\work\intellij\exampledemo\node_modules\egg-security\lib\middlewares\nosniff.js:8:5)
    at async noopen (D:\work\intellij\exampledemo\node_modules\egg-security\lib\middlewares\noopen.js:8:5)

 

【 resolvent 】

newly added

const _ = require('lodash')    

for example

原网站

版权声明
本文为[Autumn 9]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206100117300109.html