请问,定时函数报错,什么原因? 2022-07-04T01:42:40.055Z 489a1994-8d49-49f8-9694-a6a2cace7c2b [error] TypeError: Cannot read property 'startsWith' of undefined at (/code/node_modules/@midwayjs/static-file/dist/middleware/static.middleware.js:29:56) at some (null:null:null) at rangeMiddleware (/code/node_modules/@midwayjs/static-file/dist/middleware/static.middleware.js:29:37) at dispatch (/code/node_modules/@midwayjs/core/dist/service/middlewareService.js:102:48) at composeFn (/code/node_modules/@midwayjs/core/dist/service/middlewareService.js:76:20) at dispatch (/code/node_modules/@midwayjs/core/dist/service/middlewareService.js:102:48) at (/code/node_modules/@midwayjs/core/dist/baseFramework.js:239:42) at dispatch (/code/node_modules/@midwayjs/core/dist/service/middlewareService.js:102:48) at composeFn (/code/node_modules/@midwayjs/core/dist/service/middlewareService.js:76:20) at dispatch (/code/node_modules/@midwayjs/core/dist/service/middlewareService.js:102:48) 2022-07-04T01:42:40.055Z 489a1994-8d49-49f8-9694-a6a2cace7c2b [error] {"errorMessage":"Internal Server Error","errorType":"Error","stackTrace":["Error: Internal Server Error"," at (/code/node_modules/@midwayjs/serverless-fc-starter/dist/runtime.js:239:27)"," at invokeHandlerWrapper (/code/node_modules/@midwayjs/runtime-engine/dist/lightRuntime.js:19:28)"]} FC Invoke End RequestId: 489a1994-8d49-49f8-9694-a6a2cace7c2b, Error: Handled function error
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。